Registry / crypto / des
library0.9.0rscratesunverified

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

# Cargo.toml [dependencies] des = "0.9.0"
INSTALL
IMPORT
SIG · DES
D
des
cryptorustv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Des
use des::Des;

Create a DES cipher with an 8-byte key.

use des::Des; use block_cipher_trait::BlockCipher; let key = [0u8; 8]; let cipher = Des::new(&key);
Debug
Known issues
breakingDES is cryptographically broken; use AES instead
fix
Use `aes` crate for secure encryption
affects: >=0.9
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
10
Meta
1
Amazon
1
Resources
des — cargo add des · libregistry