Triple DES is a symmetric key block cipher which applies the DES algorithm three times to each data block.
First the key is generated. It consists of three different DES keys- k1
, k2
, k3
. This means the key has a length of 168 bits (3*56 bits).
The process is as follows:
- Encrypt the plaintext blocks using single DES with key
k1
- Decrypt the output of the previous step using single DES
k2
- Encrypt the output of the previous step using single DES with key
k3
Decryption of a ciphertext is a reverse process of encryption.
Triple DES systems are significantly more secure than single DES, but the process of encryption/ decryption is much slower compared to single DES. Triple DES was introduced because it would take an enourmous amount of time and money to change encryption algorithms that were widely adopted and embedded in large security architectures. Thus the change of the manner in which single DES was used.