Professional Documents
Culture Documents
Round 4 DES
Round 4 DES
Given,
L4=4de5635d
R4=3412a90e
k4=be11427e6ac2
Formulae:
𝑳𝒊 = 𝑹𝒊−𝟏
𝑹𝒊 = 𝑳𝒊−𝟏 ⨁𝑭(𝑹𝒊−𝟏 , 𝒌𝒊 )
L5=R4=3412a90e
𝑹𝟓 = 𝑳𝟒 ⨁𝑭(𝑹𝟒 , 𝒌𝟒 )
Function F() Steps:
1. Out of 52 bits of 𝒌𝒊 , function F() choses 48 bits
2. 𝐑 𝐢−𝟏 of 32 bits expanded to 48 bits (divide into 8
chunks of 32 and perform copy)
3. Function F() also partitions 𝒌𝒊 , into 8 chunks of 6
bits
4. Perform XOR bitwise of Step 3 and Step 4
R4=3412a90e
In binary:
0011 0100 0001 0010 1010 1001 0000 1110
Expansion to 48 bits:
000110 001001 000010 000100 010101 110010 100000 011100
Hence, R4=101001101000000111000110001010010100001011011110