Hash.Bigbytes
Bigbytes offers versions of each of the above formatters, which get their value from a Sodium.bigbytes value.
Bigbytes
Sodium.bigbytes
type storage = Sodium.bigbytes
val hash : storage Fmt.t
hash formats a hash in this fashion: (Hash.hash AAAAAA==). If the storage value is not Sodium.Hash.size bytes long, it will be formatted as (Hash.hash <size mismatch>).
hash
(Hash.hash AAAAAA==)
storage
Sodium.Hash.size
(Hash.hash <size mismatch>)