Canonicalisation
Canonicalisation turns evidence packets, leakage vectors, and rating events into deterministic JSON. Deterministic JSON is required because the same input must always produce the same hash.
TrackForge uses sorted keys, compact separators, ASCII-safe output, and UTF-8 encoding before hashing.
Canonicalisation applies to:
- Evidence packet JSON.
- Leakage vector JSON.
- Rating event JSON.
- Legacy certification records where historical verification requires them.
See Canonical JSON Schema for the byte-level rules.