cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2018-2020 IOHK
License Apache-2.0
Safe Haskell None
Language Haskell2010

Crypto.Hash.Utils

Description

Common hashing functions used and re-used across the codebase.

Synopsis

Documentation

blake2b256 :: ByteArrayAccess a => a -> ByteString Source #

Hash a byte string using Blake2b with a 256-bit (32-byte) digest.

blake2b224 :: ByteArrayAccess a => a -> ByteString Source #

Hash a byte string using Blake2b with a 224-bit (28-byte) digest.