4 releases

0.0.3-alpha.2 Jun 11, 2025
0.0.3-alpha.1 May 26, 2025
0.0.2 Mar 25, 2025
0.0.2-beta.3 Feb 24, 2025

#2809 in Cryptography

Download history 90/week @ 2025-03-02 46/week @ 2025-03-09 28/week @ 2025-03-16 164/week @ 2025-03-23 58/week @ 2025-03-30 105/week @ 2025-04-06 161/week @ 2025-04-13 215/week @ 2025-04-20 255/week @ 2025-04-27 215/week @ 2025-05-04 299/week @ 2025-05-11 615/week @ 2025-05-18 440/week @ 2025-05-25 1337/week @ 2025-06-01 2202/week @ 2025-06-08 2723/week @ 2025-06-15

6,718 downloads per month
Used in 13 crates (5 directly)

Apache-2.0

570KB
10K SLoC

SHA-2

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

~0.6–1MB
~21K SLoC