Go to the documentation of this file.
21 #ifndef SH_RANDOMSOURCE_H
22 #define SH_RANDOMSOURCE_H
49 std::vector<BYTE>
getBytes (
unsigned int n) ;
69 unsigned long getValue (
unsigned long n) ;
81 #endif // ndef SH_RANDOMSOURCE_H
unsigned long getValue(unsigned long n)
Definition: RandomSource.cc:110
RandomSource(void)
Definition: RandomSource.cc:33
unsigned int RandomBytePos
Definition: RandomSource.h:72
unsigned char BYTE
Definition: common.h:47
objects of this class are used as a source of random (non reproduceable) data
Definition: RandomSource.h:33
~RandomSource(void)
Definition: RandomSource.cc:49
BYTE getByte(void)
Definition: RandomSource.cc:58
FILE * RandomInput
Definition: RandomSource.h:78
a string of bits
Definition: BitString.h:42
BitString getBits(unsigned int n)
Definition: RandomSource.cc:81
std::vector< BYTE > getBytes(unsigned int n)
Definition: RandomSource.cc:72
bool getBool(void)
Definition: RandomSource.cc:99
BYTE RandomByte
Definition: RandomSource.h:73