#crypto #aes #rijndael #block-cipher

no-std aes

Facade for AES (Rijndael) block ciphers implementations

9 releases (breaking)

0.6.0 Oct 16, 2020
0.5.0 Aug 7, 2020
0.4.0 Jun 5, 2020
0.3.2 Nov 1, 2018
0.0.0 Oct 6, 2016

#204 in Cryptography

Download history 30606/week @ 2020-07-09 33033/week @ 2020-07-16 32645/week @ 2020-07-23 34609/week @ 2020-07-30 35420/week @ 2020-08-06 35649/week @ 2020-08-13 33797/week @ 2020-08-20 34446/week @ 2020-08-27 33374/week @ 2020-09-03 40075/week @ 2020-09-10 41528/week @ 2020-09-17 44154/week @ 2020-09-24 42873/week @ 2020-10-01 43477/week @ 2020-10-08 44517/week @ 2020-10-15 45177/week @ 2020-10-22

161,358 downloads per month
Used in 214 crates (70 directly)

MIT/Apache

140KB
968 lines

RustCrypto: Advanced Encryption Standard (AES)

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

Pure Rust implementation of the Advanced Encryption Standard (AES).

This crate implements the low-level AES block function, and is intended for use for implementing higher-level constructions only. It is NOT intended for direct use in applications.

Documentation

Security

⚠️ Warning: Hazmat!

This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!

To avoid this, use an AEAD mode based on AES, such as AES-GCM or AES-GCM-SIV. See the RustCrypto/AEADs repository for more information.

USE AT YOUR OWN RISK!

Notes

This crate has received one security audit by NCC Group, with no significant findings. We would like to thank MobileCoin for funding the audit.

All implementations contained in the crate are designed to execute in constant time, either by relying on hardware intrinsics (i.e. AES-NI on x86/x86_64), or using a portable implementation based on bitslicing.

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

~245KB