Skip to main content

Module crypto

Module crypto 

Source
Expand description

Cryptographic adapters — ML-KEM-1024, ML-DSA-87, and AES-256-GCM.

Each struct implements the corresponding port trait from crate::domain::ports and wires in a ChaCha20Rng seeded from the OS entropy source at each call, providing forward secrecy between calls.

Structs§

Aes256GcmCipher
AES-256-GCM symmetric cipher adapter.
MlDsaSigner
ML-DSA-87 digital signature adapter.
MlKemEncryptor
ML-KEM-1024 key-encapsulation adapter.