Cryptography Policy SSoT
Cryptography Policy (SSoT)
Section titled “Cryptography Policy (SSoT)”This document enforces the cryptography invariants referenced in AGENTS.md.
Allowed Primitives
Section titled “Allowed Primitives”All cryptographic logic MUST use the vox-crypto crate.
- AEAD: Pure-Rust
chacha20poly1305is the standard. - Hashing: Use
sha2(SHA-256 or SHA-512) orblake3via pure-Rust crates.
Banned Primitives & Dependencies
Section titled “Banned Primitives & Dependencies”The following are explicitly banned in this repository:
- AEGIS: Prohibited due to state-management complexity and cross-platform inconsistencies.
ring: Prohibited due to its reliance on C/assembly and complex build system requirements.zig-chains: Prohibited for cross-compilation within the crypto stack.- C-assembly optimizations: Any wrapper dragging in
cmakeornasmfor C-assembly optimization on Windows is strictly banned.
All cryptography must compile on stable Rust without a C toolchain requirement.