A hasher class for SHA-256.
CSHA256 & Write(const uint8_t *data, size_t len)
Main entry point to nanobench's benchmarking facility.
static void PrePadded(benchmark::Bench &bench)
static void RegularPadded(benchmark::Bench &bench)
uint256 GetRandHash() noexcept
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...