rewire-base-2.8: A Haskell-to-Verilog/VHDL compiler, shared base utilities
Safe HaskellSafe
LanguageHaskell2010

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

Documentation

hashHex :: ByteString -> Text Source #

The lowercase hex SHA-256 digest of a byte string.