Expand description
Hash computation for v0.2 proof types
This module provides SHA-256 hash computation functions for all proof types.
All hashes are formatted as sha256:<64 lowercase hex chars>.
Enums§
- Hash
Error - Error returned when hash computation fails
Functions§
- compute_
identity_ root - Computes the identity root.
- compute_
method_ shape_ hash - Computes hash of a method shape manifest.
- compute_
method_ shape_ root - Computes the method shape root from a sorted list of span shape hashes.
- compute_
sha256 - Computes SHA-256 hash from a canonical string.
- compute_
span_ commitment_ hash - Computes the span commitment hash.
- compute_
span_ shape_ hash - Computes the span shape hash.
- compute_
trace_ hash - Computes hash of a trace.
- compute_
trace_ roots_ hash - Computes hash of trace roots.
- compute_
trace_ seq_ root - Computes the trace sequence root (optional).
- compute_
trace_ set_ root - Computes the trace set root from a sorted list of span commitment hashes.