5#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
6#define BITCOIN_CRYPTO_HMAC_SHA512_H
A hasher class for HMAC-SHA-512.
static const size_t OUTPUT_SIZE
CHMAC_SHA512 & Write(const uint8_t *data, size_t len)
void Finalize(uint8_t hash[OUTPUT_SIZE])
A hasher class for SHA-512.
CSHA512 & Write(const uint8_t *data, size_t len)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...