util.random
This library acts as a common interface to random byte generation. It was added in 0.10.
Usage
Source
Normally the random data comes from the special device file /dev/urandom. Prosody can optionally be built to use a different random source, see util.crand.
API
bytes(number)
The only method. Returns number random bytes from some PRNG, usually /dev/urandom.