Sodium_fmt.Box
Box
defines formatters for types defined in Sodium.Box
.
secret_key
formats a secret_key
in this fashion: (Box.secret_key AAAAAA==)
.
public_key
formats a public_key
in this fashion: (Box.public_key AAAAAA==)
.
channel_key
formats a channel_key
in this fashion: (Box.channel_key AAAAAA==)
.
nonce
formats a nonce
in this fashion: (Box.nonce AAAAAA==)
.
keypair
formats a keypair
in this fashion: ((Box.secret_key AAAAAA==) (Box.public_key AAAAAA==))
.
module type S = sig ... end
Bytes
offers versions of each of the above formatters, which get their value from a bytes
value.