12 releases

0.0.6 Feb 12, 2026
0.0.5 Jan 22, 2026
0.0.4 Nov 5, 2025
0.0.3 Jul 1, 2025
0.0.2 Mar 25, 2025

#2203 in Cryptography

Download history 6662/week @ 2025-11-13 7746/week @ 2025-11-20 4864/week @ 2025-11-27 7183/week @ 2025-12-04 6018/week @ 2025-12-11 3508/week @ 2025-12-18 2810/week @ 2025-12-25 3612/week @ 2026-01-01 6196/week @ 2026-01-08 7715/week @ 2026-01-15 6188/week @ 2026-01-22 7097/week @ 2026-01-29 10244/week @ 2026-02-05 7432/week @ 2026-02-12 8879/week @ 2026-02-19 11708/week @ 2026-02-26

39,684 downloads per month
Used in 2 crates

Apache-2.0

750KB
14K SLoC

Chacha20-Poly1305

no_std support

This crate supports no_std targets, but requires the presence of a global allocator.

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.

NOTE: The XChacha20Poly1305 wrapper has not been formally verified yet.

Dependencies

~2MB
~45K SLoC