| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
ReWire.Sha256
Description
Pure SHA-256 (FIPS 180-4), used to bind validator responses to the exact artifact bytes they were computed from. Self-contained so rwc carries no cryptography dependency for the sake of one digest.
Synopsis
- hashHex :: ByteString -> Text
Documentation
hashHex :: ByteString -> Text Source #
The lowercase hex SHA-256 digest of a byte string.