Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: random.h
Link against: random.lib

Class TRandom

class TRandom;

Description

The user interface to the system cryptographically secure random number generator.

Members

Defined in TRandom:
Random(), RandomL()


Member functions


Random()

static IMPORT_C void Random(TDes8 &aDestination);

Description

Fills the provided buffer with secure random data up to its current length, discarding any current content.

Parameters

TDes8 &aDestination

The buffer in which to write the random data.

Panic codes

This

function can panic under low memory conditions


RandomL()

static IMPORT_C void RandomL(TDes8 &aDestination);

Description

Fills the provided buffer with secure random data up to its current length, discarding any current content.

Parameters

TDes8 &aDestination

The buffer in which to write the random data.

Leave codes

This

function can leave under low memory conditions