package sodium-fmt

  1. Overview
  2. Docs

Scalar_mult defines formatters for types defined in Sodium.Scalar_mult.

group_elt formats a group_elt in this fashion: (Scalar_mult.group_elt AAAAAA==).

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