Professional Documents
Culture Documents
CNS3 Des
CNS3 Des
CNS3 Des
Network Security
Chapter 2
Modern Block Ciphers
st
Is done before the 1 round
st th
1 bit is replace by 58 bit
nd th
2 bit is replace by 50 bit
Rearranges the bits---Permuted input
l
M 58 M 50 M 42 M 34 M 26 M 18 M 10 M 2
l
M 60 M 52 M 44 M 36 M 28 M 20 M 12 M 4
l
M 62 M 54 M 46 M 38 M 30 M 22 M 14 M 6
l
M 64 M 56 M 48 M 40 M 32 M 24 M 16 M 8
l
M 57 M 49 M 41 M 33 M 25 M 17 M 9 M 1
l
M 59 M 51 M 43 M 35 M 27 M 19 M 11 M 3
l
M 61 M 53 M 45 M 37 M 29 M 21 M 13 M 5
l
M 63 M 55 M 47 M 39 M 31 M 23 M 15 M 7
DES Round Structure
16 round
uses two 32-bit L & R halves
5 steps
Key transformation
Expansion permutation
S box substitution
P box permutation
XOR and swap
Key transformation
th
l
Out of 56 bits - discard every 8 bit to get 48
bit subkey
l
56 bits devided into 2 halves of 28 bits
l
Circular shift of 1 or 2 positions
l
Round 1,2,9,16--- shift 1 position
l
Others-shift 2 position
Key transformation