DES Algorithm
DES Algorithm
Step2: The 64-bit block undergoes an initial permutation (IP) using initial permutation IP table,
IP(M).
Step3: The 64-bit permuted input is divided into two 32-bit blocks: left (L) and right (R). The initial
values of the left and right blocks are denoted L0 and R0.
Step4: There are 16 rounds of operations on the L and R blocks. During each round, the following
formula is applied:
Ln = Rn-1
Rn = Ln-1 XOR F(Rn-1,Kn)
1
Mustansiriyah University Block Cipher Class: Third Stage
Engineering College DES Block Cipher Course name: Data Encryption
Computer Engineering Dep. Lecturer: Dr. Fatimah Al-Ubaidy
2
Mustansiriyah University Block Cipher Class: Third Stage
Engineering College DES Block Cipher Course name: Data Encryption
Computer Engineering Dep. Lecturer: Dr. Fatimah Al-Ubaidy
Expansion E-box
4
Mustansiriyah University Block Cipher Class: Third Stage
Engineering College DES Block Cipher Course name: Data Encryption
Computer Engineering Dep. Lecturer: Dr. Fatimah Al-Ubaidy
5
Mustansiriyah University Block Cipher Class: Third Stage
Engineering College DES Block Cipher Course name: Data Encryption
Computer Engineering Dep.
The DES S-Boxes Lecturer: Dr. Fatimah Al-Ubaidy
7
Mustansiriyah University Block Cipher Class: Third Stage
Engineering College DES Block Cipher Course name: Data Encryption
Computer Engineering Dep. Lecturer: Dr. Fatimah Al-Ubaidy
Triple DES:
In cryptography, Triple DES (3DES or TDES), officially the Triple Data Encryption Algorithm (TDEA or Triple DEA), is
a symmetric-key block cipher, which applies the DES cipher algorithm three times to each data block.
Therefore, Triple DES uses a "key bundle" that comprises three DES keys, , each of 56 bits.
The encryption algorithm is:
That is, DES encrypt with , DES decrypt with , then DES encrypt with .
Decryption is the reverse: