Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cryptographic primitives related to hashing.
Synopsis
- blake2b :: ByteString -> ByteString
- blake2b160 :: ByteString -> ByteString
- sha256 :: ByteString -> ByteString
- sha512 :: ByteString -> ByteString
Documentation
blake2b :: ByteString -> ByteString Source #
Compute a cryptographic hash of a bytestring using the Blake2b_256 cryptographic hash function. It's used by the BLAKE2B instruction in Michelson.
blake2b160 :: ByteString -> ByteString Source #
Compute a cryptographic hash of a bytestring using the Blake2b_160 cryptographic hash function.
sha256 :: ByteString -> ByteString Source #
Compute a cryptographic hash of a bytestring using the Sha256 cryptographic hash function.
sha512 :: ByteString -> ByteString Source #
Compute a cryptographic hash of a bytestring using the Sha512 cryptographic hash function.