Location:
random.h
Link against: random.lib
class CSystemRandom : public CRandom;
This default secure random number generator uses system state to generate entropy for the generation of cryptographically secure random numbers.
CBase
- Base class for all classes to be instantiated on the heap
CRandom
- (No abstract)
CSystemRandom
- This default secure random number generator uses system state to generate entropy for the generation of cryptographically
secure random numbers
Defined in CSystemRandom
:
GenerateBytesL()
, NewL()
, NewLC()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CSystemRandom *NewL(void);
Constructs a new system random number generator.
|
static IMPORT_C CSystemRandom *NewLC(void);
Constructs a new system random number generator, and places it on the cleanup stack.
|
virtual void GenerateBytesL(TDes8 &aDest);
Implements the contract as specified in the base class, CRandom
, filling the buffer supplied with cryptographically secure random data up to its current length, discarding its current content.
|