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) ;
a string of bits
Definition: BitString.h:42
objects of this class are used as a source of random (non reproduceable) data
Definition: RandomSource.h:33
unsigned long getValue(unsigned long n)
Definition: RandomSource.cc:110
~RandomSource(void)
Definition: RandomSource.cc:49
unsigned int RandomBytePos
Definition: RandomSource.h:72
std::vector< BYTE > getBytes(unsigned int n)
Definition: RandomSource.cc:72
BYTE RandomByte
Definition: RandomSource.h:73
BitString getBits(unsigned int n)
Definition: RandomSource.cc:81
RandomSource(void)
Definition: RandomSource.cc:33
FILE * RandomInput
Definition: RandomSource.h:78
BYTE getByte(void)
Definition: RandomSource.cc:58
bool getBool(void)
Definition: RandomSource.cc:99
unsigned char BYTE
Definition: common.h:47