1#ifndef XRPL_CRYPTO_RANDOM_H_INCLUDED
2#define XRPL_CRYPTO_RANDOM_H_INCLUDED
A cryptographically secure random number engine.
static constexpr result_type min()
std::uint64_t result_type
csprng_engine(csprng_engine const &)=delete
csprng_engine & operator=(csprng_engine const &)=delete
result_type operator()()
Generate a random integer.
csprng_engine(csprng_engine &&)=delete
csprng_engine & operator=(csprng_engine &&)=delete
void mix_entropy(void *buffer=nullptr, std::size_t count=0)
Mix entropy into the pool.
static constexpr result_type max()
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
csprng_engine & crypto_prng()
The default cryptographically secure PRNG.