Random.rng
Generic interface for a random number generator.
method random_bytes : bytes -> int -> int -> unit
random_bytes buf pos len stores len random bytes in byte array buf, starting at position pos.
random_bytes buf pos len
len
buf
pos
method wipe : unit
Erases the internal state of the generator. Do not call random_bytes after calling wipe.
random_bytes
wipe