Double DES & Triple DES: Prepared By: Sharma Hemant
Double DES & Triple DES: Prepared By: Sharma Hemant
DES Overview
Double DES
Instead of using 2112 key search tests, we have to use 256 key search tests
two times.
Moving from a Single DES to Double DES, we have to increased the
strength from 256 to 257 .
Triple DES with 2-key
Use three stages of DES for encryption and decryption.
The 1st, 3rd stage use 𝐾1 key and 2nd stage use 𝐾2 key.
To make triple DES compatible with single DES, the middle stage uses
decryption in the encryption side and encryption in the decryption side.
It’s much stronger than double DES.
Triple DES with 2-key
The function follows an encrypt-decrypt-encrypt (EDE) sequence.
C = E(𝐾1 , D(𝐾2 , E(𝐾1 , P)))
P = D(𝐾1 , E(𝐾2 , D(𝐾1 , C)))
By the use of triple DES with 2-key encryption, it raises the cost of meet-
in-the-middle attack to 2112 .
It has the drawback of requiring a key length of 56 × 3 = 168bits which
may be somewhat unwieldy.
Triple DES with 3-key
Although the attacks just described appear impractical, anyone using two-
key 3DES may feel some concern.
Thus, many researches now feel that 3-key 3DES is the preferred
alternative.
Use three stages of DES for encryption and decryption with three different
keys.
3-key 3DES has an effective key length of 168 bits and is defined as,
C = E(𝐾3 , D(𝐾2 , E(𝐾1 , P)))
P = D(𝐾1 , E(𝐾2 , D(𝐾3 , C)))
Triple DES with 3-key