Skip to main content

Module content_digest

Module content_digest 

Source
Expand description

Shared domain-separated SHA-256 digests.

These helpers are used by the evaluation substrate and by non-evaluation harness paths (store WAL, orchestration checkpoints, Flow decisions). Keeping them outside evaluation lets Advanced evaluation stay optional without forcing digest callers into that module graph.

Structs§

InvalidDigest
Marker error for an ill-formed sha256:<hex> digest string.

Functions§

digest_bytes
Domain-separated SHA-256 digest encoded as sha256:<hex>.
digest_json
JSON-serialize value then digest the bytes under domain.
validate_digest
Reject digests that are not lowercase sha256: + 64 hex characters.