Encyclopedia > Triple DES

  Article Content

Triple DES

Triple DES (also 3DES) is the encrypt-decrypt-encrypt EDE mode[?] of the Data Encryption Standard (DES) cipher algorithm.

The encryption is done by

C = encryptk3(decryptk2(encryptk1(P))).
with
P ... plaintext
C ... ciphertext
ki ... key #i
encrypt, decrypt ... DES
Because DES is not a group, using it in EDE mode will increase its key size by a factor 3 (or 2 in the case of k1 = k3); in the case of DES this totals to 168 (or 112) bits. If k1 = k2 or k2 = k3, triple DES is equal to DES.

The use of three steps is essential to prevent meet in the middle[?] attacks. The choice of decryption for the middle step (as opposed to encryption) does not affect the security of the algorithm but instead lets tools that implement triple DES interoperate with legacy single DES tools.


See also:



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Battle Creek, Michigan

... 24, 29.5% from 25 to 44, 21.0% from 45 to 64, and 13.5% who are 65 years of age or older. The median age is 35 years. For every 100 females there are 91.9 males. Fo ...

 
 
 
This page was created in 30.4 ms