herald  2.0.0
Public Member Functions | List of all members
herald::datatype::AllZerosNotRandom Class Reference

#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 ()
 

Detailed Description

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.


The documentation for this class was generated from the following file: