Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type storage = Bytes.t
of_hash h
converts h
to storage
. The result is size_of_hash h
bytes long.
of_key k
converts key k
to storage
. The result is size_of_key k
bytes long.
digest ?size m
computes a hash of size size
(default size_default
) for message m
.
digest_with_key key m
computes a hash of size size
(default size_default
keyed by key
for message m
.