mirage-random

Random-related devices for MirageOS
IN THIS PACKAGE
Module type Mirage_random . S

Operations to generate random numbers

type g

The state of the generator.

val generate : ?g:g -> int -> Cstruct.t

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