#crypto #encryption

no-std aead

Traits for Authenticated Encryption with Associated Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a high-level API

8 releases

new 0.4.1 May 3, 2021
0.4.0 Feb 5, 2021
0.4.0-pre Jan 30, 2021
0.3.2 Jul 1, 2020
0.0.0 Oct 6, 2016

#491 in Cryptography

Download history 47712/week @ 2021-01-16 50852/week @ 2021-01-23 51260/week @ 2021-01-30 53348/week @ 2021-02-06 52942/week @ 2021-02-13 55852/week @ 2021-02-20 58074/week @ 2021-02-27 55849/week @ 2021-03-06 57443/week @ 2021-03-13 55556/week @ 2021-03-20 52957/week @ 2021-03-27 52939/week @ 2021-04-03 54772/week @ 2021-04-10 53727/week @ 2021-04-17 58878/week @ 2021-04-24 56591/week @ 2021-05-01

233,520 downloads per month
Used in 329 crates (43 directly)

MIT/Apache

43KB
765 lines

RustCrypto: Authenticated Encryption with Additional Data Traits

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

This crate provides an abstract interface for AEAD ciphers, which guarantee both confidentiality and integrity, even from a powerful attacker who is able to execute chosen-ciphertext attacks. The resulting security property, ciphertext indistinguishability, is considered a basic requirement for modern cryptographic implementations.

See RustCrypto/AEADs for cipher implementations which use this trait.

Documentation

Minimum Supported Rust Version

Rust 1.41 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

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.

Dependencies

~185–360KB