Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Common hashing functions used and re-used across the codebase.
Synopsis
- blake2b256 :: ByteArrayAccess a => a -> ByteString
- blake2b224 :: ByteArrayAccess a => a -> ByteString
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.