Default generator initialization
val initialize : unit -> unit Lwt.tImmediately seeds the current defalt generator using Nocrypto_entropy_unix.initialize. The initial seeding is finished before the function returns.
It then invokes attach. Once the returned thread completes, a background reseeding task has been attached to the defalt generator.
Background seeding
val attach : period:int -> ?device:string -> Nocrypto.Rng.g -> t Lwt.tattach ~period ~device g instruments the lwt event loop to mix in bytes from device into g whenever external events cause the loop to wake up, but no more often than once every period seconds.
device defaults to Nocrypto_entropy_unix.sys_rng.