Skip to main content

Module sha256

Module sha256 

Source
Expand description

Minimal pure-Rust SHA-256 (FIPS 180-4) for the blind-test manifest hash. Deterministic, dependency-free (scc-cli has no crypto dep), panic-free. Public only so the roundtrip unit test can exercise it directly.

Functionsยง

digest
SHA-256 digest of data as 32 raw bytes.
hex
Lowercase hex of the SHA-256 digest.