RustCrypto: AES-CTR
Pure Rust implementation of the Advanced Encryption Standard (AES) in Counter Mode.
Provides a high-performance implementation based on AES-NI and other x86(-64)
CPU intrinsics when available, or otherwise falls back on a bitsliced software
implementation and the ctr
crate.
⚠️ 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!
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.