plutus-core-1.30.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusCore.Crypto.Hash

Description

Hash functions for lazy [[Data.ByteString.ByteString]]s

Synopsis

Documentation

sha2_256 ∷ ByteString → ByteString Source #

Hash a ByteString using the SHA-256 hash function.

sha3_256 ∷ ByteString → ByteString Source #

Hash a ByteString using the SHA3-256 hash function.

blake2b_224 ∷ ByteString → ByteString Source #

Hash a ByteString using the Blake2b-224 hash function.

blake2b_256 ∷ ByteString → ByteString Source #

Hash a ByteString using the Blake2b-256 hash function.

keccak_256 ∷ ByteString → ByteString Source #

Hash a ByteString using the Keccak-256 hash function.