Skip to main content

Module sha256

Module sha256 

Source
Expand description

SHA-256 (FIPS 180-4) — the digest behind eval’s corpus_hash / query_set_hash (hashlib.sha256 in src/asdecided/services/eval.py). Hand-rolled to keep the workspace dependency-free (same posture as the harness glob); verified against the FIPS test vectors below.

Structs§

Sha256
Incremental SHA-256 state (hashlib.sha256() / .update() / digest).

Functions§

hexdigest
One-shot digest of data.