tezos-crypto

Tezos: library with all the cryptographic primitives used by Tezos
IN THIS PACKAGE
Module Tezos_crypto . Hacl . Hash . SHA512 . HMAC
val digest : key:Bytes.t -> msg:Bytes.t -> Bytes.t

digest key msg HMAC based on the hash algorithm of the module. The size of the produced tag is the same as the size of the hash digest.