Expand description
Canonicalization for v0.2 proof types
This module provides deterministic JSON canonicalization using BTreeMap for sorted keys. All canonicalization functions produce identical output for identical inputs, ensuring hash determinism across platforms.
Enums§
- Canonical
Error - Error returned when canonicalization fails
Functions§
- canonicalize_
method_ shape - Canonicalizes a method shape manifest for hashing.
- canonicalize_
span_ commitment - Canonicalizes a span commitment for hashing.
- canonicalize_
span_ shape - Canonicalizes a span shape for hashing.
- canonicalize_
trace - Canonicalizes a trace for hashing.
- canonicalize_
trace_ roots - Canonicalizes trace roots for hashing.
- normalize_
timestamp - Normalizes a timestamp to RFC3339 format with millisecond precision (UTC).