#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 103/week @ 2025-02-19 33/week @ 2025-02-26 19/week @ 2025-03-05 195/week @ 2025-03-19 103/week @ 2025-03-26 317/week @ 2025-04-02 318/week @ 2025-04-09

933 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

~185–610KB
~15K SLoC