Encryption & Ciphers100% Client-Side

Encode Text as Legacy DES-CBC

Paste text and an eight-byte hexadecimal key to create a DES-CBC fixture. The tool encrypts the UTF-8 bytes with block padding and puts an initialization vector before the ciphertext. Both parts are written together in hexadecimal. Use the result to test a legacy reader that expects this layout or to check a public round trip, including how short messages are padded to a complete block.

Legacy cipher for compatibility and learning only. It does not authenticate messages. Use AES-GCM for confidential data.

Configuration Options

Enter an 8-byte key. Enter two hexadecimal digits per byte. Use Load Sample to try a public example.

Input
0 chars•0 lines
Output

Reverse tool

DES-CBC Text Decryption for Legacy Data

Decode complete DES-CBC hexadecimal output using its original eight-byte key. Restore UTF-8 text and inspect legacy fixtures that include an IV.

Open DES-CBC Text Decryption for Legacy Data
Example input
01020304050607088b1b9f9dd84a60c9
Example output
Hello

How to Use the DES-CBC Text Encryption for Legacy Data

  1. 1Enter a sixteen-digit hexadecimal key for the example.
  2. 2Paste the text exactly as it should appear after decoding.
  3. 3Copy the full result, keeping the initialization vector in front of the ciphertext.
  4. 4Paste the result and key into DES Decrypt to verify the fixture.

Input & Output Examples

Public example key 133457799bbcdff1. One possible result. The first eight bytes are the IV and the final eight are one padded ciphertext block.

Input Sample
Hello
Expected Output
01020304050607088b1b9f9dd84a60c9

Public example key 133457799bbcdff1. One possible result. The accented letter takes two UTF-8 bytes before block padding.

Input Sample
Café
Expected Output
0102030405060708d8637908c5e8ae52

Practical Developer Workflows

  • Create a public test value for a reader that expects the IV and ciphertext in one field.
  • Compare the size of a short text message with the padded block output.
  • Verify that a legacy fixture returns its original text after decryption.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The first sixteen hexadecimal digits hold the eight-byte IV. The remaining digits represent the padded ciphertext. Keep that first part even when another application presents the IV as a separate value in its own interface.

Explore Other Tools

12 suggested tools

View all tools