package mirage-entropy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type handler = source:int -> Cstruct.t -> unit
type token
type source = [
  1. | `Timer
  2. | `Rdseed
  3. | `Rdrand
  4. | `Xentropyd
]
val sources : t -> source list
val connect : unit -> t Lwt.t
val disconnect : t -> unit Lwt.t
val add_handler : t -> handler -> token Lwt.t
val remove_handler : t -> token -> unit
OCaml

Innovation. Community. Security.