Encryption & Ciphers100% Client-Side

Encode Text as Legacy Triple DES-CBC

Paste text to create a Triple DES-CBC compatibility fixture. The tool encodes the text as UTF-8, adds padding, and encrypts it with the raw key bytes entered in the key field. The result starts with an initialization vector followed by the ciphertext. A new vector is generated for each encryption, so save a particular output when another test must use the same serialized value.

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

Configuration Options

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

Input
0 chars•0 lines
Output

Reverse tool

Triple DES-CBC Decryption

Restore UTF-8 text from IV-prefixed Triple DES-CBC hexadecimal output. Enter the original 24-byte key and compare the result with a legacy fixture.

Open Triple DES-CBC Decryption
Example input
01020304050607084bdd5fb5aa5c6e13
Example output
Hello

How to Use the Triple DES-CBC Encryption Online

  1. 1Enter the 24-byte public test key as 48 hexadecimal digits.
  2. 2Paste the text, including any spaces or line breaks that belong in the source fixture.
  3. 3Copy the entire hexadecimal result, starting with the initialization vector.
  4. 4Use Triple DES Decrypt with the original key to verify the recovered text.

Input & Output Examples

One possible result for public example key 0123456789abcdeffedcba98765432100011223344556677. The first eight bytes give the IV and the last eight form one padded ciphertext block.

Input Sample
Hello
Expected Output
01020304050607084bdd5fb5aa5c6e13

One possible result for public example key 0123456789abcdeffedcba98765432100011223344556677. The accented letter is two UTF-8 bytes before padding, and the record still contains one ciphertext block.

Input Sample
Café
Expected Output
0102030405060708f23dad219c57ffca

Practical Developer Workflows

  • Create an IV-prefixed record for testing a compatible legacy reader.
  • Compare the output length of a short UTF-8 message with its padded block length.
  • Verify that text with an accent survives a public encrypt and decrypt fixture.

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

It takes raw bytes written as hexadecimal, with two digits per byte. This page expects 24 bytes. If an existing application derives keys from passwords, follow its documented key format before trying to reproduce one of its fixtures.

Explore Other Tools

12 suggested tools

View all tools