5 #ifndef FABCOIN_CRYPTO_SHA256_H 6 #define FABCOIN_CRYPTO_SHA256_H 17 unsigned char buf[64];
25 void Finalize(
unsigned char hash[OUTPUT_SIZE]);
34 #endif // FABCOIN_CRYPTO_SHA256_H CSHA256 & Write(const unsigned char *data, size_t len)
void Finalize(unsigned char hash[OUTPUT_SIZE])
std::string SHA256AutoDetect()
Autodetect the best available SHA256 implementation.
static const size_t OUTPUT_SIZE
A hasher class for SHA-256.