Source/Packages

Data.SHA256Digest

packages/foundation/standard/src/Data/SHA256Digest.alpha

1,631 lines150 declarations64.2 KiBSHA-256 c46a79f2ab9a

def · lines 1630–1631

sha256Digest

Full file
Bytes -> Bytes convenience digest: the 64-hex identity of the input, or empty bytes on the (length-guarded) failure path. Downstream 64-length/equality gates keep empty fail-closed.
1630def sha256Digest =
1631  (lambda unrestricted material : Bytes . (sha256HexBytesOrEmpty (sha256Hex material)))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.