util.random

This library acts as a common interface to random byte generation. It added in 0.10.

bytes(number)

The only method. Returns number random bytes from some PRNG, usually /dev/urandom.