#block-cipher #data-security

no-std des

DES and Triple DES (3DES, TDES) block ciphers implementation

17 releases (9 breaking)

Uses new Rust 2024

new 0.9.0-pre.3 Mar 7, 2025
0.9.0-pre.2 Aug 14, 2024
0.9.0-pre.1 Jul 26, 2024
0.9.0-pre.0 Mar 8, 2024
0.0.1 Apr 24, 2016

#2814 in Cryptography

Download history 100712/week @ 2024-11-21 97929/week @ 2024-11-28 110927/week @ 2024-12-05 105052/week @ 2024-12-12 65178/week @ 2024-12-19 37243/week @ 2024-12-26 89679/week @ 2025-01-02 113892/week @ 2025-01-09 115534/week @ 2025-01-16 119682/week @ 2025-01-23 132203/week @ 2025-01-30 134404/week @ 2025-02-06 120367/week @ 2025-02-13 146338/week @ 2025-02-20 135316/week @ 2025-02-27 104488/week @ 2025-03-06

532,340 downloads per month
Used in 236 crates (38 directly)

MIT/Apache

42KB
698 lines

RustCrypto: Data Encryption Standard (DES) and 3DES

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

Pure Rust implementation of the DES cipher, including triple DES (3DES).

⚠️ 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

~640KB
~17K SLoC