40 static const size_t loop_count = bytes < 256 ? 100000 : bytes < 4096 ? 10000 : 1000;
Definition: cn_fast_hash.h:38
std::array< uint8_t, bytes > m_data
Definition: cn_fast_hash.h:56
bool test()
Definition: cn_fast_hash.h:48
bool init()
Definition: cn_fast_hash.h:42
static const size_t loop_count
Definition: cn_fast_hash.h:40
void cn_fast_hash(const void *data, std::size_t length, hash &hash)
Definition: hash.h:63
std::enable_if< std::is_pod< T >::value, T >::type rand()
Definition: crypto.h:174
POD_CLASS hash
Definition: hash.h:48