#block-cipher #mode #ctr #pure #generic #collection #algorithm

webcrypto-ctr

CTR mode variant used in WebCrypto

1 unstable release

Uses old Rust 2015

0.0.0 Dec 23, 2021

#5 in #ctr

MIT/Apache

2KB

RustCrypto: block modes

Project Chat dependency status Apache2/MIT licensed HAZMAT

Collection of block modes written in pure Rust generic over block ciphers.

⚠️ Security Warning: Hazmat!

Crates in this repository do not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly! AEADs provide simple authenticated encryption, which is much less error-prone than manual integrity verification.

USE AT YOUR OWN RISK!

Supported algorithms

Name Crate name crates.io Docs MSRV
BelT CTR belt-ctr crates.io Documentation MSRV 1.57
Cipher Block Chaining cbc crates.io Documentation MSRV 1.56
8-bit Cipher Feedback cfb8 crates.io Documentation MSRV 1.56
Full-block Cipher Feedback cfb-mode crates.io Documentation MSRV 1.56
Counter ctr crates.io Documentation MSRV 1.56
GOST R 34.13-2015 gost-modes crates.io Documentation MSRV 1.56
Infinite Garble Extension ige crates.io Documentation MSRV 1.56
Output Feedback ofb crates.io Documentation MSRV 1.56
Propagating Cipher Block Chaining pcbc crates.io Documentation MSRV 1.56

Minimum Supported Rust Version (MSRV) Policy

MSRV bumps are considered breaking changes and will be performed only with minor version bump.

License

All crates 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.

No runtime deps