Crates.io | aes |
lib.rs | aes |
version | 0.9.0-pre.2 |
source | src |
created_at | 2016-10-06 21:22:19.16404 |
updated_at | 2024-08-14 16:22:32.445481 |
description | Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael) |
homepage | |
repository | https://github.com/RustCrypto/block-ciphers |
max_upload_size | |
id | 6760 |
size | 336,050 |
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.
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!
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.
Rust 1.72 or higher.
Minimum supported Rust version can be changed in future releases, but it will be done with a minor version bump.
Licensed under either of:
at your option.
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.