Previous section To contents

14.21.2 Crypto.randomness.arcfour_random

CLASS
Crypto.randomness.arcfour_random

DESCRIPTION
A pseudo random generator based on the arcfour crypto.

METHOD
Crypto.randomness.arcfour_random.create

SYNTAX
void create(string secret)

DESCRIPTION
Initialize and seed the arcfour random generator.

METHOD
Crypto.randomness.arcfour_random.read

SYNTAX
string read(int len)

DESCRIPTION
Return a string of the next len random characters from the arcfour random generator.

Previous section To contents