6 releases
| 0.0.6 | Feb 12, 2026 |
|---|---|
| 0.0.6-pre.1 | Feb 11, 2026 |
| 0.0.5 | Jan 26, 2026 |
| 0.0.4 | Nov 5, 2025 |
#2134 in Cryptography
28,259 downloads per month
Used in 5 crates
(2 directly)
150KB
3K
SLoC
AEAD
This crate provides a usable interface to libcrux-chacha20poly1305 and libcrux-aesgcm.
Verification
libcrux-chacha20poly1305
libcrux-chacha20poly1305 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.
NOTE: The XChacha20Poly1305 wrapper has not been formally verified yet.
libcrux-aesgcm
The implementations of AES-GCM 128 and AES-GCM 256 have not been formally verified yet.
Dependencies
~1.5MB
~32K SLoC