package tezos-hacl-glue

  1. Overview
  2. Docs
type t = Bytes.t

Functions for generating and incrementing nonces used in the NaCl API.

val size : int
val gen : unit -> t
val increment : ?step:int -> t -> t
val of_bytes : Bytes.t -> t option
val of_bytes_exn : Bytes.t -> t
OCaml

Innovation. Community. Security.