0

Why do we use encrypt-decrypt-encrypt (EDE) in 3DES, rather than encrypting three times?

in this link, we use EDE Mode usually.

when we use one key, in this case, Encryption -> Decryption result will be Plain text. so as a result, we just do one DES encryption.

and other case, we use two key, (k1-k2-k1) or three keys, in this case each result of E D E will different, so there is no vulnerability use 'EDE' or 'EEE'.

http://des.online-domain-tools.com/ in this site we can do DES encryption or decryption, and i test all case refer above.

  1. encrypt test. it is EDE 's first 'E'. encrypt 'test'

  2. decrypt encrypted test. it is EDE 's middle 'D'. decrypt 'test' as you can see, the result is plain text.

I know that i am newbie and this article is wrong. but i can't understand why we use EDE and which part i missed.

thanks for your help :)


in single key, EEE mode. encrypt encrypted test. it is EEE 's middle 'E' enter image description here result of EEE's middle 'E' is not plaintext. so EEE isn't just do one time DES algorithm.

0 Answers0