Triple DES Encryption and Decryption Online

Triple DES or DESede , a symmetric-key algorithm for the encryption of electronic data, is the successor of DES(Data Encryption Standard) and provides more secure encryption then DES. The Triple DES breaks the user-provided key into three subkeys as k1, k2, and k3. A message is encrypted with k1 first, then decrypted with k2 and encrypted again with k3. The DESede key size is 128 or 192 bit and blocks size 64 bit. There are 2 modes of operation - Triple ECB (Electronic Code Book) and Triple CBC (Cipher Block Chaining).

Note:CBC (Cipher Block Chaining) requires Initialization Vector(IV) whereas ECB(Electronic Code Book) encryption mode does not require any IV for encryption.

Below is the online free tool that provides triple DES encryption and decryption with the two modes of operation for any plain text.

Triple DES Encryption

Base64 Hex
Loading...

Triple DES Online Decryption

Base64 Plain-Text
Loading...

Any secret key value that you enter, or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that any secret keys cannot be stolen.

If you appreciate this tool then you can consider donating.

We are thankful for your never ending support.

DES Encryption Usage Guide

Enter any plain-text or password that you want to encrypt. After that select the encryption mode from the dropdown. Below are the possible vales:

  • ECB: With ECB mode, any text is divided into multiple blocks and each block is encrypted with the key provided and hence identical plain text blocks are encrypted into identical cipher text blocks. Hence, this encryption mode is considered as less secured than CBC mode. No IV is required for ECB mode as each block is encrypted into identical cipher text blocks. Remember, use of IV ensures that identical plaintexts are encrypted to different ciphertexts.

  • CBC: CBC encryption mode is considered more secured as compared to ECB mode, as CBC requires IV which helps in randomizing the encryption of similar blocks unlike ECB mode. The initialization vector size for CBC mode should be 64 bit meaning it must be 8 characters long i.e 8*8=64 bits

Next, enter the secret key which will be used to encrypt the input text. As triple DES is a symmetric encryption technique, the encrypted text can only be decrypted with the same secret key that was used to encrypt the plain text.

The default secret key size for triple DES is 192 bits and this online free tool also uses the same. Hence, the secret key size that you need to enter here in the tool must be of 24 characters i.e 24*8=192 bits.

Next, you can specify the Output text format which can be either Base64 or Hex. By default, the encrypted output text will be Base64 encoded. You can always use this free tool to convert Base64 encoded text to a plain text.

Now, on the click of the Encrypt button, the input plain text will be encrypted as per Triple DES encryption algorithm. Below is a sample screenshot for the same.

triple-des-online-encryption-sample-screenshot

Similarly, for decrypting a Triple DES encrypted string, input the encrypted string in the text area and provide the same secret key which was used for encryption of the plain text.

Next, you can choose the decryption mode as ECB or CBC mode and provide the relevant input for IV if required based on the mode selection. Next, you can click on the Decrypt button to get the plain text out of Triple DES encrypted text.

References