tezos-crypto

Tezos: library with all the cryptographic primitives used by Tezos
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library tezos-crypto
Module Tezos_crypto . Hacl . Nonce
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