package mirage-random-stdlib

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

Innovation. Community. Security.