DES-CBC Encryption & Decryption
Encrypt or decrypt legacy DES-CBC data with PKCS#7 padding.
How to use
When decrypting an existing ciphertext, enter the IV used at encryption and select the ciphertext’s actual encoding. Keep DES for legacy compatibility.
FAQ
Does decoding a DES-CBC file send the old IV or key anywhere?
All DES-CBC processing uses the file, Hex key and IV inside the browser. The binary result is available through a local download.
What is supported?
Use an 8-byte Hex key and an 8-byte Hex IV. Files up to 8 MiB can be processed and the raw output can be downloaded.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Check the first CBC block with zero IV against the published DES block vector; check inverse padding and invalid-padding rejection.
- Comparison reference
- DES key 133457799bbcdff1, plaintext 0123456789abcdef, ciphertext 85e813540f0ab405; fixed vector and same-library inverse checks.
- Verification scope
- Covers the first ciphertext block, local decryption and invalid padding rejection for the listed samples.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- des-cipher: published DES block vector with CBC IV zero
- Secret fields start empty and fixed vectors are confined to the explicit example action
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.