15 unstable releases (7 breaking)

0.8.0 Jul 8, 2021
0.7.0-pre.3 Dec 30, 2020
0.7.0-pre Nov 26, 2020
0.4.0 Jun 6, 2020
0.1.0 Jul 30, 2018

#580 in Cryptography

Download history 47070/week @ 2021-05-28 48564/week @ 2021-06-04 50093/week @ 2021-06-11 47095/week @ 2021-06-18 48462/week @ 2021-06-25 53993/week @ 2021-07-02 53662/week @ 2021-07-09 58438/week @ 2021-07-16 54570/week @ 2021-07-23 63507/week @ 2021-07-30 56614/week @ 2021-08-06 60050/week @ 2021-08-13 67046/week @ 2021-08-20 71702/week @ 2021-08-27 63762/week @ 2021-09-03 68692/week @ 2021-09-10

205,665 downloads per month
Used in 324 crates (24 directly)

MIT/Apache

24KB
566 lines

RustCrypto: Counter Mode (CTR)

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

Generic implementations of the Counter Mode (CTR) of operation for block ciphers, which enables adapting block ciphers into stream ciphers.

Documentation

diagram

⚠️ 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!

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

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

~250KB