4 releases (2 breaking)

Uses new Rust 2024

0.2.0-rc.1 Feb 1, 2026
0.2.0-rc.0 Jan 3, 2026
0.1.0 Sep 26, 2022
0.0.0 Dec 15, 2016

#2892 in Cryptography

Download history 48171/week @ 2025-11-11 61395/week @ 2025-11-18 55496/week @ 2025-11-25 64579/week @ 2025-12-02 67938/week @ 2025-12-09 68510/week @ 2025-12-16 39940/week @ 2025-12-23 46860/week @ 2025-12-30 48738/week @ 2026-01-06 62537/week @ 2026-01-13 80443/week @ 2026-01-20 78118/week @ 2026-01-27 88532/week @ 2026-02-03 78086/week @ 2026-02-10 71900/week @ 2026-02-17 78430/week @ 2026-02-24

329,854 downloads per month
Used in 108 crates (8 directly)

MIT/Apache

91KB
433 lines

RustCrypto: Camellia Cipher

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

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

~1MB
~20K SLoC