|
DefaultCryptoRandomStream |
|
|
DefaultCryptoRandomStream Class
|
|
|
|
|
Derived class from: BaseCryptoRandomStream
Implements the default stream to check for randomness.
The class contains:
Constructors & Destructor
Class methods
Class Constructors & Destructors
|
|
|
DefaultCryptoRandomStream (); |
| |
|
Creates an object of the base class, sets the default values for members. |
|
|
|
DefaultCryptoRandomStream (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ] |
| |
|
Creates a DefaultCryptoRandomStream object with a stream of length length. |
|
|
|
DefaultCryptoRandomStream (unsigned char* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ] |
| |
|
Creates a DefaultCryptoRandomStream object with the pointed stream stream of length length. |
|
|
|
~DefaultCryptoRandomStream (); |
| |
|
Destroys the object and clears all members. |
|
|
|
virtual void SetCryptoRandomStream (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Creates a stream of length length in the DefaultCryptoRandomStream object. |
|
|
|
virtual void SetCryptoRandomStream (unsigned char* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Assigns the pointed stream stream of length length to the DefaultCryptoRandomStream object. |
|
|
|
void SetBitForward (unsigned short bit); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream bit bit and moves the BaseCryptoRandomStream position to the following bit.
|
|
|
|
void SetBitReverse (unsigned short bit); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Sets the BaseCryptoRandomStream bit bit and moves the BaseCryptoRandomStream position to the previous bit.
|
|
|
|
void SetPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Sets the BaseCryptoRandomStream pointer position (it is calculated in bits), starting value 0.
|
|
|
|
void Fill (unsigned short value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the stream to an specified bit value (0 or 1).
|
|
|
|
virtual void* GetCryptoRandomStreamMemory (void); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets a pointer to the stream (at starting position 0) contained by the BaseCryptoRandomStream object.
|
|
|
|
unsigned long int GetPosition (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current bit position, first bit position is 0.
|
|
|
|
unsigned long int GetLength (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length in bits.
|
|
|
|
unsigned short GetBitPosition (unsigned long position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at a specified position (calculated in bits).
|
|
|
|
unsigned short GetBitForward (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at the current position and moves the BaseCryptoRandomStream pointer to the following bit.
|
|
|
|
unsigned short GetBitReverse (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at the current position and moves the BaseCryptoRandomStream pointer to the previous bit.
|
You can check the page Used Symbols for an explanation of the symbols near the information.
|
|
|