Module type Generichash.S

type storage
val hash : storage Fmt.t

hash formats a hash in this fashion: (Generichash.hash AAAAAA==). If the storage value is not between Sodium.Generichash.size_min and Sodium.Generichash.size_max bytes long, it will be formatted as (Generichash.hash <size mismatch>).

val secret_key : storage Fmt.t

hash formats a hash in this fashion: (Generichash.secret_key AAAAAA==). If the storage value is not between Sodium.Generichash.key_size_min and Sodium.Generichash.key_size_max bytes long, it will be formatted as (Generichash.secret_key <size mismatch>).