package sodium-fmt

  1. Overview
  2. Docs

Sign defines formatters for types defined in Sodium.Sign.

val secret_key : Sodium.Sign.secret_key Fmt.t

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

val public_key : Sodium.Sign.public_key Fmt.t

public_key formats a public_key in this fashion: (Sign.public_key AAAAAA==).

val keypair : Sodium.Sign.keypair Fmt.t

keypair formats a keypair in this fashion: ((Sign.secret_key AAAAAA==) (Sign.public_key AAAAAA==)).

val signature : Sodium.Sign.signature Fmt.t

signature formats a signature in this fashion: (Sign.signature AAAAAA==).

val seed : Sodium.Sign.seed Fmt.t

seed formats a seed in this fashion: (Sign.seed 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.

OCaml

Innovation. Community. Security.