| Crates.io | libcrux-digest |
| lib.rs | libcrux-digest |
| version | 0.0.4 |
| created_at | 2025-11-05 12:46:58.312495+00 |
| updated_at | 2025-11-05 14:32:59.430132+00 |
| description | Digest library |
| homepage | https://github.com/cryspen/libcrux |
| repository | https://github.com/cryspen/libcrux |
| max_upload_size | |
| id | 1917947 |
| size | 22,628 |
This crate provides a usable interface to libcrux-sha2, libcrux-sha3 and libcrux-blake2.
libcrux-blake2 and libcrux-sha2 contain 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.
NOTE: The Sha3 implementation has not been formally verified yet.