#encryption #public-key #chacha20-poly1305 #encryption-key #boxes #key-pair #x25519

chacha_box_ietf

Sealed boxes using X25519 and ChaCha20-Poly1305 (RFC 8439): anonymously send unforgeable messages to a recipient given their public key

1 unstable release

0.1.0 Sep 12, 2025

#1560 in Cryptography

Download history 160/week @ 2025-09-10 27/week @ 2025-09-17 51/week @ 2025-09-24 46/week @ 2025-10-01 53/week @ 2025-10-08 48/week @ 2025-10-15 48/week @ 2025-10-22

197 downloads per month
Used in 2 crates (via routex-settlement)

Apache-2.0 OR MIT

58KB
199 lines

chacha_box_ietf

Sealed boxes are designed to anonymously send messages to a recipient given their public key. A message is encrypted using an ephemeral key pair, with the secret key being erased right after the encryption process.

This crate provides sealed boxes using ChaCha20-Poly1305 as AEAD cipher, as described in RFC-8439.

Dependencies

~2.8–4MB
~83K SLoC