Expand description
PQCrypto - Post-Quantum Cryptography for R-SRP Ultra
Provides hybrid cryptographic primitives combining classical algorithms (RSA, ECDSA) with post-quantum algorithms (Dilithium, Kyber) from NIST 2024.
§Security Model
- Hybrid Signatures: Ed25519 + Dilithium2/3/5
- Hybrid KEM: X25519 + Kyber512/768/1024
- Both classical and PQ must be broken to compromise the system
§Standards
- NIST FIPS 203: ML-KEM (Key Encapsulation)
- NIST FIPS 204: ML-DSA (Digital Signatures)
- NIST FIPS 205: SLH-DSA (Hash-based signatures)
Re-exports§
pub use error::PqcError;pub use hybrid::HybridKEM;pub use hybrid::HybridSignature;pub use kem::KemProvider;pub use kem::Kyber;pub use kem::KyberLevel;pub use kem::MockKemProvider;pub use signature::Dilithium;pub use signature::DilithiumLevel;pub use signature::MockProvider;pub use signature::SignatureProvider;
Modules§
- error
- PQCrypto Error Types
- hybrid
- Hybrid Cryptographic Primitives
- kem
- Kyber Post-Quantum Key Encapsulation Mechanism
- signature
- Dilithium Post-Quantum Signature Implementation
Constants§
- ALGORITHM_
DILITHIU M2 - PQC Algorithm identifiers for serialization
- ALGORITHM_
DILITHIU M3 - ALGORITHM_
DILITHIU M5 - ALGORITHM_
KYBE R512 - ALGORITHM_
KYBE R768 - ALGORITHM_
KYBE R1024 - PRODUCTION_
DEFAULT_ DILITHIUM_ LEVEL - Frozen production default for signatures.
- PRODUCTION_
DEFAULT_ KYBER_ LEVEL - Frozen production default for KEM.
- VERSION
- Version information
Functions§
- validate_
runtime_ security_ config - Runtime hardening checks for production deployments.