Exercise 3 S-DES Usage
Exercise 3 S-DES Usage
Exercise 3 S-DES Usage
Exercise 2
Bit’s operations
(A) permutation P10:
(3 5 2 7 4 10 1 9 8 6)
(B) LS-1 = left shift by 1 for each of 5 bit block separately
(5 2 7 4 3 1 9 8 6 10)
(C) Reducing permutation P8
(6 3 7 4 8 5 10 9)
(D) LS-2 = left shift by 2 for each of 5 bit block separately
(7 4 3 5 2 8 6 10 1 9)
Operation (A)
0 1 1 1 0 1 1 1 0 1
Operation (B)
1 1 1 0 0 1 1 0 1 1
Operation (A)
0 1 1 1 0 1 1 1 0 1
Operation (B)
1 1 1 0 0 1 1 0 1 1
Operation (D)
1 0 0 1 1 0 1 1 1 1
ENCRYPTION
Example: we enter (C ') with the bit string 00011100, which converted to decimal numbers give
0, 1 for S0 and 3, 0 for S1. The output produces the string shown in four yellow cells below.