9 breaking releases

Uses new Rust 2024

0.9.0-pre.0 Oct 5, 2025
0.8.1 Feb 17, 2022
0.7.0 Apr 29, 2021
0.6.0 Oct 16, 2020
0.0.0 Dec 15, 2016

#2902 in Cryptography

Download history 62419/week @ 2025-08-16 66027/week @ 2025-08-23 70806/week @ 2025-08-30 73569/week @ 2025-09-06 72890/week @ 2025-09-13 69913/week @ 2025-09-20 82143/week @ 2025-09-27 75954/week @ 2025-10-04 75330/week @ 2025-10-11 71267/week @ 2025-10-18 72473/week @ 2025-10-25 82250/week @ 2025-11-01 74533/week @ 2025-11-08 72308/week @ 2025-11-15 77913/week @ 2025-11-22 74230/week @ 2025-11-29

314,560 downloads per month
Used in 38 crates (5 directly)

MIT/Apache

14KB
231 lines

RustCrypto: RC2 Cipher

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

Pure Rust implementation of the RC2 block cipher.

⚠️ Security Warning: Hazmat!

This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

USE AT YOUR OWN RISK!

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

~690KB
~18K SLoC