Expand description
§json_atomic
The Cryptographic Atom — JSON✯Atomic: canonicalization + BLAKE3 + DV25-Seal (Ed25519)
This crate implements the Cryptographic Atom from Paper II, providing:
- Canonical JSON✯Atomic serialization (Same Semantics = Same Bytes = Same Hash)
- BLAKE3 content addressing (CID)
- DV25-Seal (Ed25519) for Signed Facts
- Trajectory Matching for similarity calculations
See README.md for full documentation.
Modules§
Structs§
- Signed
Fact - Signed Fact — fato assinado imutável (Paper II).
Constants§
- CANON_
VERSION - Versão do formato canônico JSON✯Atomic (Paper II).
- FORMAT_
ID - Identificador curto do formato JSON✯Atomic.
Functions§
- canonize
- Canoniza qualquer
Serializeem bytes determinísticos JSON-compatíveis. - seal_
logline - Sela um LogLine completo como Signed Fact (Paper II: Signed Fact de ação verificada).
- seal_
value - Sela um valor serializável como Signed Fact (Paper II: Cycle of Truth).
- trajectory_
confidence - Calcula a confiança de trajetória usando similaridade de cosseno mapeada para [0,1].
- verify_
seal - Verifica a integridade e autenticidade de um Signed Fact.