Crates.io | dhkem |
lib.rs | dhkem |
version | 0.0.1-alpha |
source | src |
created_at | 2024-04-17 16:40:46.078607 |
updated_at | 2024-08-08 15:28:33.33969 |
description | Pure Rust implementation of Key Encapsulation Mechanism (KEM) adapters for Elliptic Curve Diffie Hellman (ECDH) protocols |
homepage | |
repository | https://github.com/RustCrypto/KEMs/tree/master/dhkem |
max_upload_size | |
id | 1211543 |
size | 32,021 |
Pure Rust implementation of the Diffie-Hellman-Based Key-Encapsulation Mechanism as described in the RFC9180 § 4.1.
Key Encapsulation Mechanisms (KEMs) provide a common API for establishing a symmetric key using public-key cryptography.
This crate implements a KEM-based API for elliptic curve Diffie-Hellman as specified for Hybrid Public Key Encryption (HPKE) which is described in RFC9180.
The implementation contained in this crate has never been independently audited!
USE AT YOUR OWN RISK!
This crate requires Rust 1.74 at a minimum.
We may change the MSRV in the future, but it will be accompanied by a minor version bump.
Licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.