Skip to main content

Module digest

Module digest 

Source
Expand description

SHA-256 digest helpers used by receipts, chains, and audit stubs.

Functions§

sha256_concat_hex
SHA-256 over the concatenation of parts (no separator — callers must ensure unambiguous framing, e.g. fixed-width prefix or hash-of-hash).
sha256_hex
SHA-256 of data, hex-encoded (lowercase, 64 chars).