RAND
RAND
Kind: global class
this: {"{"}RAND{"}"}
new RAND()
Creates an instance of RAND
ranD.clean()
Delete all internal state of a random number generator
Kind: instance method of RAND
this: {"{"}RAND{"}"}
ranD.sbrand()
Marsaglia & Zaman random number generator
Kind: instance method of RAND
this: {"{"}RAND{"}"}
ranD.seed(rawlen, raw)
Initialize RNG with some real entropy from some external source
Kind: instance method of RAND
this: {"{"}RAND{"}"}
Param | Description |
---|---|
rawlen | the number of seed bytes provided |
raw | an array of seed bytes |
ranD.getByte()
Get random byte
Kind: instance method of RAND
this: {"{"}RAND{"}"}
RAND.pack()
Pack 4 bytes into a 32-bit Word
Kind: static method of RAND
this: {"{"}RAND{"}"}