mirage-crypto-rng

A cryptographically secure PRNG
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library mirage-crypto-rng.unix
val initialize : unit -> unit

initialize () will bring the RNG into a working state.

val getrandom : int -> Cstruct.t

getrandom size returns a buffer of size filled with random bytes.