Collection of Authenticated Encryption with Associated Data (AEAD) algorithms written in pure Rust.
AEADs are high-level symmetric encryption primitives which defend against a wide range of potential attacks (i.e. IND-CCA3).
Crates functionality is expressed in terms of traits defined in the aead
crate.
Name | Algorithm | Crates.io | Documentation | Build |
---|---|---|---|---|
aes-gcm |
AES-GCM | |||
aes-gcm-siv |
AES-GCM-SIV | |||
aes-siv |
AES-SIV | |||
chacha20poly1305 |
(X)ChaCha20Poly1305 | |||
crypto_box |
Curve25519XSalsa20Poly1305 | |||
xsalsa20poly1305 |
XSalsa20Poly1305 |
NOTE: the aes-ccm
crate also implements the aead
traits
used by all of the other crates in this repository.
All crates in this repository support Rust 1.40 or higher. In future minimum supported Rust version can be changed, but it will be done with the minor version bump.
All crates licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.