61 std::string
get_hash(
bool uppercase =
false)
const;
82 void set_hmac(
const void *key_data,
int key_size);
85 void add(
const void *data,
int size);
100 std::shared_ptr<SHA256_Impl> impl;
void set_hmac(const void *key_data, int key_size)
Enable a HMAC based calculation.
void add(const void *data, int size)
Adds data to be hashed.
SHA-224 hash function class.
Definition: sha224.h:45
General purpose data buffer.
Definition: databuffer.h:43
void calculate()
Finalize hash calculation.
void get_hash(unsigned char out_hash[hash_size]) const
Get hash.
SHA224()
Constructs a SHA-224 hash generator.
static const int hash_size
Definition: sha224.h:58
void reset()
Resets the hash generator.
std::string get_hash(bool uppercase=false) const
Returns the calculated hash.
void add(const DataBuffer &data)
Add.