Module Sodium_fmt.Generichash

Generichash defines formatters for types defined in Sodium.Generichash.

val hash : Sodium.Generichash.hash Fmt.t

hash formats a hash in this fashion: (Generichash.hash AAAAAA==).

val secret_key : Sodium.Generichash.secret_key Fmt.t

secret_key formats a secret_key in this fashion: (Generichash.secret_key AAAAAA==).

module type S = sig ... end
module Bytes : S with type storage = bytes

Bytes offers versions of each of the above formatters, which get their value from a bytes value.

module Bigbytes : S with type storage = Sodium.bigbytes

Bigbytes offers versions of each of the above formatters, which get their value from a Sodium.bigbytes value.