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 | MSRV |
---|---|---|---|---|
aes-gcm-siv |
AES-GCM-SIV | 1.51 | ||
aes-gcm |
AES-GCM | 1.51 | ||
aes-siv |
AES-SIV | 1.51 | ||
ccm |
CCM | 1.41 | ||
chacha20poly1305 |
(X)ChaCha20Poly1305 | 1.56 | ||
deoxys |
Deoxys-I/II | 1.51 | ||
eax |
EAX | 1.41 | ||
mgm |
MGM | 1.41 | ||
xsalsa20poly1305 |
XSalsa20Poly1305 | 1.56 |
Minimum Supported Rust Version (MSRV) can be changed in the future, but it will be done with a 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.