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