Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
benches/ | H | 03-May-2022 | - | 4 | 2 | |
src/ | H | 03-May-2022 | - | 721 | 566 | |
tests/ | H | 03-May-2022 | - | 251 | 197 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 01-Jan-1970 | 74 | 6 | 5 | |
CHANGELOG.md | H A D | 29-Nov-1973 | 1.7 KiB | 60 | 41 | |
Cargo.toml | H A D | 01-Jan-1970 | 1.2 KiB | 43 | 37 | |
Cargo.toml.orig-cargo | H A D | 29-Nov-1973 | 615 | 23 | 20 | |
LICENSE-APACHE | H A D | 29-Nov-1973 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | H A D | 29-Nov-1973 | 1 KiB | 26 | 22 | |
README.md | H A D | 29-Nov-1973 | 2.6 KiB | 75 | 51 |
README.md
1# RustCrypto: Counter Mode (CTR) 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[![HAZMAT][hazmat-image]][hazmat-link] 10 11Generic implementations of the [Counter Mode (CTR)][1] of operation for 12block ciphers, which enables adapting block ciphers into stream ciphers. 13 14[Documentation][docs-link] 15 16<img alt="diagram" src="https://raw.githubusercontent.com/RustCrypto/meta/master/img/stream-ciphers/ctr.png" width="500px"> 17 18## ⚠️ Security Warning: [Hazmat!][hazmat-link] 19 20This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to 21verify ciphertext integrity), which can lead to serious vulnerabilities 22if used incorrectly! 23 24No security audits of this crate have ever been performed, and it has not been 25thoroughly assessed to ensure its operation is constant-time on common CPU 26architectures. 27 28**USE AT YOUR OWN RISK!** 29 30## Minimum Supported Rust Version 31 32Rust **1.41** or higher. 33 34Minimum supported Rust version can be changed in the future, but it will be 35done with a minor version bump. 36 37## SemVer Policy 38 39- All on-by-default features of this library are covered by SemVer 40- MSRV is considered exempt from SemVer as noted above 41 42## License 43 44Licensed under either of: 45 46 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) 47 * [MIT license](http://opensource.org/licenses/MIT) 48 49at your option. 50 51### Contribution 52 53Unless you explicitly state otherwise, any contribution intentionally submitted 54for inclusion in the work by you, as defined in the Apache-2.0 license, shall be 55dual licensed as above, without any additional terms or conditions. 56 57[//]: # (badges) 58 59[crate-image]: https://img.shields.io/crates/v/ctr.svg 60[crate-link]: https://crates.io/crates/ctr 61[docs-image]: https://docs.rs/ctr/badge.svg 62[docs-link]: https://docs.rs/ctr/ 63[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg 64[rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg 65[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg 66[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260049-stream-ciphers 67[build-image]: https://github.com/RustCrypto/stream-ciphers/workflows/ctr/badge.svg?branch=master&event=push 68[build-link]: https://github.com/RustCrypto/stream-ciphers/actions?query=workflow%3Actr 69[hazmat-image]: https://img.shields.io/badge/crypto-hazmat%E2%9A%A0-red.svg 70[hazmat-link]: https://github.com/RustCrypto/meta/blob/master/HAZMAT.md 71 72[//]: # (footnotes) 73 74[1]: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#CTR 75