12 releases
| new 0.0.5 | Jan 22, 2026 |
|---|---|
| 0.0.4 | Nov 5, 2025 |
| 0.0.3 | Jun 30, 2025 |
| 0.0.3-alpha.1 | May 26, 2025 |
| 0.0.2-alpha.3 | Jul 23, 2024 |
#1981 in Cryptography
25,987 downloads per month
Used in 8 crates
(3 directly)
240KB
4K
SLoC
Elliptic Curve Diffie-Hellman (ECDH)
This crate provides an API for performing elliptic curve Diffie-Hellman. Currently supported curves are Curve 25519 and NIST curve P256.
Verification
This crate contains safe Rust that was compiled from verified C originating in the HACL* project.
The code for [these] algorithms is formally verified using the F* verification framework for memory safety, functional correctness, and secret independence (resistance to some types of timing side-channels). -- The HACL* repository
For more details on the compilation from C to Rust, please refer to "Compiling C to Safe Rust, Formalized" by Aymeric Fromherz and Jonathan Protzenko.
Dependencies
~2.3–3MB
~64K SLoC