package tezos-base

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