#block-cipher #tdes

no-std des

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

16 releases (9 breaking)

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.8.1 Feb 17, 2022
0.0.1 Apr 24, 2016

#2503 in Cryptography

Download history 78415/week @ 2024-08-20 82009/week @ 2024-08-27 99614/week @ 2024-09-03 86680/week @ 2024-09-10 85593/week @ 2024-09-17 89452/week @ 2024-09-24 92253/week @ 2024-10-01 91668/week @ 2024-10-08 102628/week @ 2024-10-15 104922/week @ 2024-10-22 100684/week @ 2024-10-29 98160/week @ 2024-11-05 108937/week @ 2024-11-12 107002/week @ 2024-11-19 91138/week @ 2024-11-26 89337/week @ 2024-12-03

412,568 downloads per month
Used in 216 crates (35 directly)

MIT/Apache

40KB
564 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).

Documentation

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

Minimum Supported Rust Version

Rust 1.65 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

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

~370KB