Description
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).
RustCrypto alternatives and similar packages
Based on the "Cryptography" category.
Alternatively, view RustCrypto alternatives based on common mentions on social networks and blogs.
-
Ockam
Ockam is a suite of tools, programming libraries and infrastructure that make it easy to build devices that communicate securely, privately and trustfully with cloud services and other devices. -
miscreant
Misuse-resistant symmetric encryption library with AES-SIV (RFC 5297) and AES-PMAC-SIV support -
RustCrypto Elliptic Curves
Elliptic curve types and traits for generically expressing curve types, scalars, points, and keys -
rust-security-framework
Bindings for Security Framework (OSX native crypto) -
recrypt
A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption. -
rust-djangohashers
A Rust port of the password primitives used in the Django Project. It doesn't require Django, only hashes and validates passwords according to its style.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of RustCrypto or a related project?
README
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.
Minimum Supported Rust Version
All crates in this repository support Rust 1.41 or higher. In future minimum supported Rust version can be changed, but it will be done with the minor version bump.
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.
*Note that all licence references and agreements mentioned in the RustCrypto README section above
are relevant to that project's source code only.