Google

Class type Cryptokit.Random.rng


class type rng = object  end
Generic interface for a random number generator.

method random_bytes : string -> int -> int -> unit
random_bytes buf pos len stores len random bytes in string buf, starting at position pos.
method wipe : unit
Erases the internal state of the generator. Do not call random_bytes after calling wipe.