uor-addr-1 0.1.0

Pure-UOR content addressing for JSON-serialisable payloads — the JCS-RFC8785+NFC+SHA-256 transform as a Prism application of the UOR Foundation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Runtime operation bodies — the σ-projection evaluators the host
//! boundary and the ψ-pipeline resolvers call.
//!
//! - [`sha256`] — pure-Rust FIPS-180-4 SHA-256 streaming + one-shot
//!   compression. Reused by [`crate::shapes::hasher::Sha256Hasher`].
//! - [`canonicalize`] — host-boundary JCS-RFC8785 + Unicode-NFC
//!   canonicalisation of an unstructured JSON byte sequence.
//!
//! ARCHITECTURAL NOTE — both modules contain only operational
//! evaluators. Neither emits `Term::AxisInvocation`; the canonical
//! hash axis is consumed inside the ψ_9 resolver body via
//! `H::initial().fold_bytes(…)` per wiki ADR-046's resolver-body
//! iterative-resolution discipline. The verb body itself has no
//! σ-enumeration per wiki ADR-035's ψ-residuals discipline.

pub mod canonicalize;
pub mod sha256;