Hanzo PQC
Post-Quantum Cryptography implementation for Hanzo AI with privacy tier support.
Features
- NIST PQC Standards: ML-KEM (Kyber) and ML-DSA (Dilithium) implementations
- Hybrid Cryptography: Combines classical and post-quantum algorithms
- Privacy Tiers: Optimized configurations for different security levels
- Hardware Integration: Support for GPU CC and TEE-I/O environments
- FIPS Compliance: Optional FIPS-compliant mode
Algorithms
Key Encapsulation (KEM)
- ML-KEM-512 (NIST Level 1)
- ML-KEM-768 (NIST Level 3)
- ML-KEM-1024 (NIST Level 5)
Digital Signatures
- ML-DSA-44 (NIST Level 2)
- ML-DSA-65 (NIST Level 3)
- ML-DSA-87 (NIST Level 5)
Hybrid Modes
- X25519 + ML-KEM for key exchange
- Ed25519 + ML-DSA for signatures
Usage
use ;
async
Privacy Tier Configuration
The crate automatically selects appropriate algorithm strengths based on privacy tiers:
- Tier 0-1: ML-KEM-512, ML-DSA-44
- Tier 2: ML-KEM-768, ML-DSA-65
- Tier 3-4: ML-KEM-1024, ML-DSA-87
Features
default: Enables ML-KEM, ML-DSA, and hybrid modeml-kem: ML-KEM (Kyber) supportml-dsa: ML-DSA (Dilithium) supportslh-dsa: SLH-DSA (SPHINCS+) supporthybrid: Hybrid classical/PQC modesfips-mode: FIPS compliance modegpu-cc: GPU confidential computing optimizationstee-io: TEE-I/O support for Blackwell
License
Dual licensed under MIT OR Apache-2.0