RustCrypto: Authenticated Encryption with Associated Data (AEAD) Algorithms
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).
Usage
Crates functionality is expressed in terms of traits defined in the aead
crate.
Crates
Name | Algorithm | Crates.io | Documentation | Build |
---|---|---|---|---|
aes-gcm-siv |
AES-GCM-SIV | |||
aes-gcm |
AES-GCM | |||
aes-siv |
AES-SIV | |||
ccm |
CCM | |||
chacha20poly1305 |
(X)ChaCha20Poly1305 | |||
crypto_box |
Curve25519XSalsa20Poly1305 | |||
eax |
EAX | |||
mgm |
MGM | |||
xsalsa20poly1305 |
XSalsa20Poly1305 |
NOTE: the aes-ccm
crate also implements the aead
traits
used by all of the other crates in this repository.
License
All crates licensed under either of
at your option.
Contribution
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.