10 #define CRYPTOPP_RNG_H 30 void GenerateBlock(
byte *output,
size_t size);
90 size_t Put2(
const byte *inString,
size_t length,
int messageEnd,
bool blocking);
100 double GetTestValue()
const;
103 enum {L=8, V=256,
Q=2000, K=2000};
unsigned int BytesNeeded() const
Provides the number of bytes of input is needed by the test.
#define NAMESPACE_BEGIN(x)
Linear Congruential Generator (LCG)
Abstract base classes that provide a uniform interface to this library.
Classes for automatic resource management.
Interface for random number generators.
const unsigned int m_size
Maurer's Universal Statistical Test for Random Bit Generators.
LC_RNG(word32 init_seed)
Construct a Linear Congruential Generator (LCG)
Implementation of BufferedTransformation's attachment interface.
member_ptr< BlockTransformation > m_cipher
uint8_t const size_t const size
Ensures an object is not copyable.
virtual void GenerateIntoBufferedTransformation(BufferedTransformation &target, const std::string &channel, lword length)
Generate random bytes into a BufferedTransformation.
Base class for bufferless filters.