23 #ifndef CRYPTO_BLAKE2B_H
24 #define CRYPTO_BLAKE2B_H
38 void reset(uint8_t outputLength);
39 void update(
const void *data,
size_t len);
40 void finalize(
void *hash,
size_t len);
54 void processChunk(uint64_t f0);
void finalize(void *hash, size_t len)
Finalizes the hashing process and returns the hash.
void reset()
Resets the hash ready for a new hashing process.
void clear()
Clears the hash state, removing all sensitive data, and then resets the hash ready for a new hashing ...
BLAKE2b()
Constructs a BLAKE2b hash object.
size_t blockSize() const
Size of the internal block used by the hash algorithm.
Abstract base class for cryptographic hash algorithms.
size_t hashSize() const
Size of the hash result from finalize().
virtual ~BLAKE2b()
Destroys this BLAKE2b hash object after clearing sensitive information.
void update(const void *data, size_t len)
Updates the hash with more data.