package sihl-facade

  1. Overview
  2. Docs

Module Sihl_facade.RandomSource

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.

OCaml

Innovation. Community. Security.