herald
2.0.0
|
#include <randomness.h>
Public Member Functions | |
AllZerosNotRandom (AllZerosNotRandom &&other) noexcept=default | |
std::string | methodName () const |
void | nextBytes (std::size_t count, Data &into) |
int | nextInt () |
double | nextDouble () |
A Randomness Source provides random data. It could be a simple uniform integer distribution, it could be a predictable sequence, it could be derived from a chipsets secure enclave, if present.
This high level class abstracts away the underlying implementation mechanics. On native platforms in C++ the implementations available may vary dramatically. A decidedly non random source!!! Used to test the v4 UUID format generation function only. DO NOT USE IN PRODUCTION.