#digest #crypto #encryption

no-std aead

Traits for Authenticated Encryption with Associated Data (AEAD) algorithms

3 unstable releases

✓ Uses Rust 2018 edition

0.1.1 Aug 30, 2019
0.1.0 Aug 29, 2019
0.0.0 Oct 6, 2016

#216 in Cryptography

27 downloads per month
Used in 6 crates

MIT/Apache

8KB
69 lines

Authenticated Encryption with Additional Data

This crate provides the rust trait equivilent of the AEAD API defined in RFC5116. As a result, it should provide nearly drop-in support for any compliant AEAD scheme, including AES-GCM, AES-CCM, ChaCha20-Poly1305, AES-CBC-HMAC, etc.


lib.rs:

Authenticated Encryption with Associated Data (AEAD) traits

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.

Dependencies

~180KB