package mirage-random

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

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.

OCaml

Innovation. Community. Security.