package sihl

  1. Overview
  2. Docs

Module Sihl.RandomSource

include module type of struct include Sihl_facade.Random end
include Sihl_contract.Random.Sig
Sourceval bytes : int -> char list

bytes n generates a string that comprises n random bytes.

Sourceval base64 : int -> string

base64 n generates a base64 encoded string that comprises n random bytes.

Sourcemodule Setup : sig ... end
OCaml

Innovation. Community. Security.