nsIRandomGenerator

Interface used to generate random data.

@threadsafe

Methods

generateRandomBytes(aLength, aBuffer)

Generates the specified amount of random bytes.

Parameters

aLength The length of the data to generate.
aBuffer A buffer that contains random bytes of size aLength.