#crypto #block-cipher

no-std cast6

CAST6 block cipher

2 unstable releases

0.1.0 Nov 22, 2023
0.0.0 Dec 15, 2016

#2620 in Cryptography

Download history 2/week @ 2023-11-11 20/week @ 2023-11-18 11/week @ 2023-11-25 5/week @ 2023-12-02 3/week @ 2023-12-09 1/week @ 2023-12-16 5/week @ 2023-12-23 2/week @ 2023-12-30 2/week @ 2024-01-06 3/week @ 2024-01-13 3/week @ 2024-01-20 11/week @ 2024-01-27 2/week @ 2024-02-03 11/week @ 2024-02-10 43/week @ 2024-02-17

67 downloads per month


380 lines

RustCrypto: CAST6 Cipher

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

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


Minimum Supported Rust Version

Rust 1.56 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above


Licensed under either of:

at your option.


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.