5 releases (breaking)

0.5.0 Sep 15, 2020
0.4.0 Jun 8, 2020
0.3.0 Nov 1, 2018
0.2.0 Oct 15, 2018
0.1.0 Jul 30, 2018

#559 in Cryptography

Download history 10141/week @ 2020-06-04 9719/week @ 2020-06-11 9773/week @ 2020-06-18 8954/week @ 2020-06-25 10604/week @ 2020-07-02 10530/week @ 2020-07-09 11873/week @ 2020-07-16 12223/week @ 2020-07-23 13582/week @ 2020-07-30 12705/week @ 2020-08-06 10653/week @ 2020-08-13 10158/week @ 2020-08-20 9812/week @ 2020-08-27 9911/week @ 2020-09-03 10240/week @ 2020-09-10 7727/week @ 2020-09-17

46,014 downloads per month
Used in 66 crates (29 directly)

MIT/Apache

17KB
80 lines

RustCrypto: AES-CTR

Crate Docs Apache2/MIT licensed Rust Version Build Status HAZMAT

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.

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!

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

~220–315KB