Skip to main content

apfsds_crypto/
lib.rs

1//! APFSDS Crypto - Encryption, signing, and key management
2//!
3//! This crate provides:
4//! - Ed25519 key generation and signing (legacy)
5//! - ML-DSA-65 (Dilithium3) post-quantum signatures
6//! - X25519 ECDH key exchange (legacy)
7//! - ML-KEM-768 (Kyber) post-quantum key exchange
8//! - AES-256-GCM encryption/decryption
9//! - HMAC-SHA256 with constant-time comparison
10//! - Replay cache for nonce deduplication
11
12mod aes;
13mod hmac_auth;
14mod keys;
15mod replay;
16
17pub use aes::*;
18pub use hmac_auth::*;
19pub use keys::*;
20pub use replay::*;