Expand description
Core of the Vox Trust protocol (pre-alpha, API unstable, not audited).
seal: the 102-bit in-band seal layout.circle: the circle-mode authentication tag (shared secret, HMAC-SHA-256).pairing: the text exchanged in person (for example in a QR code) to share a key.policy: the trust-policy decision table.replay: replay detection and failure rate limiting for verifiers.wavandfile: file mode, a signed manifest that travels inside a WAV file and shows which chunks of audio were altered.
There is no audio watermark here yet: file mode only survives bit-exact copies. See the specification and threat model in the repository before relying on any of it.
Re-exports§
pub use policy::decide;pub use policy::ContactState;pub use policy::SealCheck;pub use policy::Verdict;pub use seal::coarse_time;pub use seal::DecodeError;pub use seal::EncodeError;pub use seal::Mode;pub use seal::Seal;pub use seal::SEAL_BITS;pub use seal::SEAL_BYTES;
Modules§
- circle
- Circle mode: the in-band seal is authenticated with a shared secret (spec section 5).
- file
- File mode: a signed manifest inside a WAV file that shows which chunks were altered.
- pairing
- The pairing text exchanged in person, for example inside a QR code (spec section 9).
- policy
- The trust-policy decision table (spec section 8).
- replay
- Verifier-side helpers: replay detection and failure rate limiting (spec sections 4 and 5).
- seal
- The 102-bit in-band seal layout (spec section 4).
- wav
- A strict, minimal RIFF/WAVE reader and writer for 16-bit PCM, plus the
VOXTchunk that carries a file-mode manifest.
Functions§
- to_hex
- Lower-case hexadecimal encoding, used by reports and test vectors.