module Netsys_rng:sig
..end
On Unix, the /dev/urandom
device is used. If it is not available, the
functions fail.
On Win32, an RNG is obtained using CryptAcquireContext
.
val set_rng : (Bytes.t -> unit) -> unit
val fill_random : Bytes.t -> unit