Default generator initialization
val initialize : unit -> unit Lwt.t
Starts seeding the current default generator and stops the previous seeding process started through the same function. Idempotent as long as the default generator is unchanged.
Interface to Mirage Entropy
val sources : unit -> Entropy.source list option
Entropy.source
s set up with the last initialize.
val attach : Entropy.t -> Nocrypto.Rng.g -> Entropy.token Lwt.t
attach e g
starts seeding g
from the entropy provider e
and returns the token to stop the seeding.