package tezos-hacl-glue

  1. Overview
  2. Docs
type t = Stdlib.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 : Stdlib.Bytes.t -> t option
val of_bytes_exn : Stdlib.Bytes.t -> t
OCaml

Innovation. Community. Security.