From DES to 3-DES

Step 1: In PART I of the simulation page, click the respective buttons to generate the Plaintext (m), Key Part A (keyA), and Key Part B (keyB). Use the info icons next to each field for guidance and examples.

Step 2: In PART II, select the appropriate Plaintext Input Type (ASCII or Hex) using the dropdown. Enter the generated Plaintext (m) from PART I into the "Your text to be encrypted/decrypted:" field.

Step 3: Enter keyA from PART I into the "Key to be used:" field in PART II. Click the DES Encrypt button to generate ciphertext c1 (First Encryption). The result will appear in the Output field.

Step 4: Copy ciphertext c1 from the Output field and enter it back into the "Your text to be encrypted/decrypted:" field in PART II.

Step 5: Enter keyB from PART I into the "Key to be used:" field in PART II. Click the DES Decrypt button to generate ciphertext c2 (Second Encryption). The result will appear in the Output field.

Step 6: Copy ciphertext c2 from the Output field and enter it again into the "Your text to be encrypted/decrypted:" field in PART II.

Step 7: Enter keyA from PART I into the "Key to be used:" field in PART II. Click the DES Encrypt button to generate ciphertext c3 (Third Encryption). This completes Triple DES (TDES) encryption.

Step 8: Copy ciphertext c3 from the Output field in PART II and enter it into the "Enter your answer here:" field in PART III to verify your Triple DES result.