4 releases

0.0.2 Mar 25, 2025
0.0.2-beta.3 Feb 24, 2025
0.0.2-alpha.3 Jul 23, 2024
0.0.2-alpha.1 Jul 3, 2024

#2444 in Cryptography

Download history 367/week @ 2025-01-13 339/week @ 2025-01-20 128/week @ 2025-01-27 178/week @ 2025-02-03 97/week @ 2025-02-10 186/week @ 2025-02-17 291/week @ 2025-02-24 351/week @ 2025-03-03 273/week @ 2025-03-10 325/week @ 2025-03-17 282/week @ 2025-03-24 277/week @ 2025-03-31 508/week @ 2025-04-07 876/week @ 2025-04-14 348/week @ 2025-04-21 191/week @ 2025-04-28

1,939 downloads per month
Used in 5 crates (2 directly)

Apache-2.0

225KB
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

~1.1–1.6MB
~31K SLoC