package mirage-random

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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
OCaml

Innovation. Community. Security.