Skip to main content

Crate dcrypt_kem

Crate dcrypt_kem 

Source
Expand description

Key Encapsulation Mechanisms (KEM) and Key Exchange

This crate implements various key encapsulation mechanisms and key exchange protocols, both traditional and post-quantum.

Re-exports§

pub use ecdh::EcdhK256;
pub use ecdh::EcdhP224;
pub use ecdh::EcdhP256;
pub use ecdh::EcdhP384;
pub use ecdh::EcdhP521;
pub use ml_kem::MlKem;
pub use ml_kem::MlKem1024;
pub use ml_kem::MlKem1024Ciphertext;
pub use ml_kem::MlKem1024DecapsulationKey;
pub use ml_kem::MlKem1024EncapsulationKey;
pub use ml_kem::MlKem1024KeyPair;
pub use ml_kem::MlKem1024Params;
pub use ml_kem::MlKem512;
pub use ml_kem::MlKem512Ciphertext;
pub use ml_kem::MlKem512DecapsulationKey;
pub use ml_kem::MlKem512EncapsulationKey;
pub use ml_kem::MlKem512KeyPair;
pub use ml_kem::MlKem512Params;
pub use ml_kem::MlKem768;
pub use ml_kem::MlKem768Ciphertext;
pub use ml_kem::MlKem768DecapsulationKey;
pub use ml_kem::MlKem768EncapsulationKey;
pub use ml_kem::MlKem768KeyPair;
pub use ml_kem::MlKem768Params;
pub use ml_kem::MlKemCiphertext;
pub use ml_kem::MlKemDecapsulationKey;
pub use ml_kem::MlKemEncapsulationKey;
pub use ml_kem::MlKemKeyPair;
pub use ml_kem::MlKemParameterSet;
pub use ml_kem::MlKemSharedSecret;
pub use ml_kem::ML_KEM_SHARED_SECRET_BYTES;

Modules§

ecdh
ECDH-KEM implementations for NIST curves
error
Error handling for KEM operations
ml_kem
FIPS 203 Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).