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

Download history 7027/week @ 2025-10-03 5571/week @ 2025-10-10 6057/week @ 2025-10-17 3325/week @ 2025-10-24 7216/week @ 2025-10-31 7528/week @ 2025-11-07 7199/week @ 2025-11-14 8315/week @ 2025-11-21 6156/week @ 2025-11-28 10086/week @ 2025-12-05 7533/week @ 2025-12-12 4055/week @ 2025-12-19 3226/week @ 2025-12-26 5760/week @ 2026-01-02 8010/week @ 2026-01-09 8525/week @ 2026-01-16

25,987 downloads per month
Used in 8 crates (3 directly)

Apache-2.0

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

verified-hacl

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