1 unstable release
0.0.1-alpha | Aug 8, 2024 |
---|---|
0.0.0 |
|
#2737 in Cryptography
15KB
190 lines
RustCrypto: Diffie-Hellman-Based KEM
Pure Rust implementation of the Diffie-Hellman-Based Key-Encapsulation Mechanism as described in the RFC9180 § 4.1.
About
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.
⚠️ Security Warning
The implementation contained in this crate has never been independently audited!
USE AT YOUR OWN RISK!
Minimum Supported Rust Version
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.
License
Licensed under either of:
at your option.
Contribution
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.
Dependencies
~0–1.8MB
~35K SLoC