Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

json::address* — the JSON realization’s public entry points, one per admissible σ-axis (crate::hash).

  1. canonicalize parses + emits the JCS-RFC8785 §3 + Unicode NFC canonical form into an alloc buffer (no width / depth / count caps).
  2. The selected axis’s AddressModel*::forward runs the shared ψ-tower: the canonical bytes flow in as an ADR-060 Borrowed carrier and ψ₉ folds them through the bound H to mint the κ-label.
  3. AddressOutcome::from_grounded extracts the owned κ-label + replayable TC-05 witness.

address selects H = Sha256Hasher (the default); address_blake3, address_sha3_256, and address_keccak256 select the other 32-byte axes. JSON canonicalization requires heap storage, so the entry points are gated behind the alloc feature.

Re-exports§

pub use crate::outcome::AddressOutcome;
pub use crate::outcome::AddressWitness;
pub use crate::outcome::VerifyError;

Enums§

AddressFailure
Failure modes from the JSON entry points.

Functions§

address
uor-addr’s JSON entry point (σ-axis Sha256Hasher) — one ψ-pipeline content-address inference per JSON input, yielding a sha256:<64hex> κ-label.
address_blake3
The JSON entry point under σ-axis Blake3Hasher — yields a blake3:<64hex> κ-label. See address for the error contract.
address_keccak256
The JSON entry point under σ-axis Keccak256Hasher — yields a keccak256:<64hex> κ-label. See address for the error contract.
address_sha3_256
The JSON entry point under σ-axis Sha3_256Hasher — yields a sha3-256:<64hex> κ-label. See address for the error contract.
address_sha512
The JSON entry point under σ-axis Sha512Hasher — yields a sha512:<128hex> κ-label (135 bytes, 64-byte fingerprint). See address for the error contract.