package mirage-random

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations to generated random numbers using Cstruct buffers.

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.

OCaml

Innovation. Community. Security.