#chacha20-poly1305 #formal-verification #encryption

libcrux-chacha20poly1305

Formally verified ChaCha20-Poly1305 AEAD library

2 releases

0.0.2 Mar 25, 2025
0.0.2-beta.3 Feb 24, 2025

#2699 in Cryptography

Download history 116/week @ 2025-02-21 26/week @ 2025-02-28 13/week @ 2025-03-07 1/week @ 2025-03-14 259/week @ 2025-03-21 79/week @ 2025-03-28 361/week @ 2025-04-04

700 downloads per month
Used in libcrux-psq

Apache-2.0

580KB
10K SLoC

Chacha20-Poly1305

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

~195–630KB
~15K SLoC