| 1 | # RustCrypto: CBC |
| 2 | |
| 3 | [![crate][crate-image]][crate-link] |
| 4 | [![Docs][docs-image]][docs-link] |
| 5 | ![Apache2/MIT licensed][license-image] |
| 6 | ![Rust Version][rustc-image] |
| 7 | [![Project Chat][chat-image]][chat-link] |
| 8 | [![Build Status][build-image]][build-link] |
| 9 | |
| 10 | Generic implementation of the [Cipher Block Chaining][CBC] (CBC) block cipher |
| 11 | mode of operation. |
| 12 | |
| 13 | <img src="https://raw.githubusercontent.com/RustCrypto/media/26acc39f/img/block-modes/cbc_enc.svg" width="50%"><img src="https://raw.githubusercontent.com/RustCrypto/media/26acc39f/img/block-modes/cbc_dec.svg" width="50%"> |
| 14 | |
| 15 | See [documentation][cipher-doc] of the `cipher` crate for additional information. |
| 16 | |
| 17 | ## Minimum Supported Rust Version |
| 18 | |
| 19 | Rust **1.56** or higher. |
| 20 | |
| 21 | Minimum supported Rust version can be changed in the future, but it will be |
| 22 | done with a minor version bump. |
| 23 | |
| 24 | ## SemVer Policy |
| 25 | |
| 26 | - All on-by-default features of this library are covered by SemVer |
| 27 | - MSRV is considered exempt from SemVer as noted above |
| 28 | |
| 29 | ## License |
| 30 | |
| 31 | Licensed under either of: |
| 32 | |
| 33 | * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) |
| 34 | * [MIT license](http://opensource.org/licenses/MIT) |
| 35 | |
| 36 | at your option. |
| 37 | |
| 38 | ### Contribution |
| 39 | |
| 40 | Unless you explicitly state otherwise, any contribution intentionally submitted |
| 41 | for inclusion in the work by you, as defined in the Apache-2.0 license, shall be |
| 42 | dual licensed as above, without any additional terms or conditions. |
| 43 | |
| 44 | [//]: # (badges) |
| 45 | |
| 46 | [crate-image]: https://img.shields.io/crates/v/cbc.svg |
| 47 | [crate-link]: https://crates.io/crates/cbc |
| 48 | [docs-image]: https://docs.rs/cbc/badge.svg |
| 49 | [docs-link]: https://docs.rs/cbc/ |
| 50 | [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg |
| 51 | [rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg |
| 52 | [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg |
| 53 | [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/308460-block-modes |
| 54 | [build-image]: https://github.com/RustCrypto/block-modes/workflows/cbc/badge.svg?branch=master&event=push |
| 55 | [build-link]: https://github.com/RustCrypto/block-modes/actions?query=workflow%3Acbc+branch%3Amaster |
| 56 | |
| 57 | [//]: # (general links) |
| 58 | |
| 59 | [CBC]: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#CBC |
| 60 | [cipher-doc]: https://docs.rs/cipher/ |