#crypto #des #block-cipher #tdes

no-std des

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

13 releases (8 breaking)

0.8.1 Feb 17, 2022
0.7.0 Apr 29, 2021
0.6.0 Oct 16, 2020
0.4.0 Jun 8, 2020
0.0.1 Apr 24, 2016

#952 in Cryptography

Download history 29398/week @ 2022-10-13 28966/week @ 2022-10-20 27698/week @ 2022-10-27 30837/week @ 2022-11-03 30533/week @ 2022-11-10 30887/week @ 2022-11-17 27283/week @ 2022-11-24 26149/week @ 2022-12-01 27234/week @ 2022-12-08 24826/week @ 2022-12-15 11207/week @ 2022-12-22 16872/week @ 2022-12-29 24522/week @ 2023-01-05 28496/week @ 2023-01-12 29312/week @ 2023-01-19 24653/week @ 2023-01-26

111,200 downloads per month
Used in 83 crates (22 directly)


463 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.


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.