package sodium-fmt

  1. Overview
  2. Docs

Module Sodium_fmt.AuthSource

Auth defines formatters for types defined in Sodium.Auth.

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

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

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

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

OCaml

Innovation. Community. Security.