10 releases (breaking)

Uses new Rust 2024

new 0.12.0-rc.1 Feb 1, 2026
0.11.1 Feb 17, 2022
0.10.0 Apr 29, 2021
0.9.0 Oct 16, 2020
0.0.0 Dec 15, 2016

#2905 in Cryptography

Download history 43741/week @ 2025-10-13 40540/week @ 2025-10-20 37947/week @ 2025-10-27 42880/week @ 2025-11-03 32084/week @ 2025-11-10 46805/week @ 2025-11-17 43716/week @ 2025-11-24 47394/week @ 2025-12-01 47779/week @ 2025-12-08 49556/week @ 2025-12-15 21304/week @ 2025-12-22 24490/week @ 2025-12-29 26026/week @ 2026-01-05 41490/week @ 2026-01-12 57832/week @ 2026-01-19 67073/week @ 2026-01-26

194,630 downloads per month
Used in 110 crates (9 directly)

MIT/Apache

45KB
665 lines

RustCrypto: CAST5 Cipher

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

Pure Rust implementation of the CAST5 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

~685KB
~18K SLoC