#crypto #block-cipher #ciphers

block-modes

Block cipher modes of operation

11 releases (6 breaking)

0.6.1 Aug 14, 2020
0.5.0 Jul 3, 2020
0.3.3 Apr 28, 2019
0.3.2 Feb 4, 2019
0.0.0 Apr 28, 2017

#217 in Cryptography

Download history 7644/week @ 2020-06-25 6996/week @ 2020-07-02 7621/week @ 2020-07-09 7680/week @ 2020-07-16 8651/week @ 2020-07-23 8714/week @ 2020-07-30 9437/week @ 2020-08-06 9924/week @ 2020-08-13 9395/week @ 2020-08-20 9901/week @ 2020-08-27 9898/week @ 2020-09-03 10670/week @ 2020-09-10 11831/week @ 2020-09-17 10413/week @ 2020-09-24 9846/week @ 2020-10-01 8923/week @ 2020-10-08

38,995 downloads per month
Used in 130 crates (58 directly)

MIT/Apache

26KB
530 lines

RustCrypto: Block Modes

crate Docs Apache2/MIT licensed Rust Version 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

~240KB