Bitcoin ABC  0.24.10
P2P Digital Currency
salteduint256hasher.cpp
Go to the documentation of this file.
1 #include <random.h>
2 #include <salteduint256hasher.h>
3 
5  : k0(GetRand(std::numeric_limits<uint64_t>::max())),
6  k1(GetRand(std::numeric_limits<uint64_t>::max())) {}
k1
static const uint8_t k1[32]
Definition: chacha_poly_aead.cpp:20
SaltedUint256Hasher::SaltedUint256Hasher
SaltedUint256Hasher()
Definition: salteduint256hasher.cpp:4
GetRand
uint64_t GetRand(uint64_t nMax) noexcept
Generate a uniform random integer in the range [0..range).
Definition: random.cpp:650
random.h
salteduint256hasher.h