mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Now SHA256 also from Reference.
This commit is contained in:
parent
4c8920777f
commit
d2cff831bd
@ -3,7 +3,11 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class SHA256 {
|
#include "core/reference.h"
|
||||||
|
|
||||||
|
class SHA256 : public Reference {
|
||||||
|
RCPP_OBJECT(SHA256, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual std::string compute(const void *data, size_t num_bytes) = 0;
|
virtual std::string compute(const void *data, size_t num_bytes) = 0;
|
||||||
virtual std::string compute(const std::string &text) = 0;
|
virtual std::string compute(const std::string &text) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user