package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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.