#crypto #block-cipher #ciphers

block-modes

Block cipher modes of operation

14 releases (8 breaking)

0.8.1 Apr 30, 2021
0.7.0 Oct 16, 2020
0.5.0 Jul 3, 2020
0.3.3 Apr 28, 2019
0.0.0 Apr 28, 2017

#181 in Cryptography

Download history 29627/week @ 2021-07-05 32329/week @ 2021-07-12 28956/week @ 2021-07-19 31723/week @ 2021-07-26 30882/week @ 2021-08-02 31502/week @ 2021-08-09 28567/week @ 2021-08-16 32739/week @ 2021-08-23 37092/week @ 2021-08-30 42171/week @ 2021-09-06 45328/week @ 2021-09-13 43264/week @ 2021-09-20 44612/week @ 2021-09-27 41506/week @ 2021-10-04 46549/week @ 2021-10-11 49212/week @ 2021-10-18

107,086 downloads per month
Used in 291 crates (90 directly)

MIT/Apache

30KB
688 lines

RustCrypto: Block Modes

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

Generic implementation of block cipher modes of operation, including CBC and ECB modes.

Note that this crate implements only modes which require padding. For CTR, CFB and OFB modes (i.e. modes which transform block ciphers into stream ciphers) see crates in the RustCrypto/stream-ciphers repository.

Documentation

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

~255KB