mirage-random

Random signatures for MirageOS, and an implementation using stdlib
IN THIS PACKAGE
Module Stdlibrandom
include Mirage_random.S with type buffer = Cstruct.t
type buffer = Cstruct.t

The type for memory buffer.

type g

The state of the generator.

val generate : ?g:g -> int -> buffer

generate ~g n generates a random buffer of length n using g.

val initialize : unit -> unit