Professional Documents
Culture Documents
Data Encryption Standard (DES)
Data Encryption Standard (DES)
(DES)
DES
64-bit CT
BLOCK 1
3
DES History
IBM developed Lucifer cipher
by team led by Feistel
used 64-bit data blocks with 128-bit key
then redeveloped as a commercial cipher with
input from NSA and others
in 1973 NBS issued request for proposals for a
national cipher standard
IBM submitted their revised Lucifer which was
eventually accepted as the DES
5
KEY
LPT
RPT
16 ROUNDS 16 ROUNDS
FINAL PERMUTATION (FP)
64-bit CT
6
KEY
LPT
RPT
16 ROUNDS 16 ROUNDS
FINAL PERMUTATION (FP)
64-bit CT
7
10
11
12
13
14
15
16
58
50
42
34
26
18
10
60
52
44
36
28
20
12
62
54
46
38
30
22
14
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
56
48
40
32
24
16
33
34
35
36
37
38
39
40
57
49
41
33
25
17
41
42
43
44
45
46
47
48
59
51
43
35
27
19
11
49
50
51
52
53
54
55
56
61
53
45
37
29
21
13
57
58
59
60
61
62
63
64
63
55
47
39
31
23
15
Odd
Numbers
Initial Permutation IP
first step of the data computation
IP reorders the input data bits
even bits to LH half, odd bits to RH half
quite regular in structure (easy in h/w)
10
R (i-1)
Ki
+
L (i1)
R (i1)
11
12
BLOCK 1 (4 BITS)
BLOCK 2 (4 BITS)
1
8
2
3
6 BITS
3
4
BLOCK 8 (4 BITS)
4
5
5
4
6
5
7
6
8
7
6 BITS
13
14
B2
B3
B4
B5
B6
15
EXAMPLE OF S-BOX
0000 0001 0010 0100 0101 0110
0111
1000
00 1110
1011
1001
01 0000
1111
1101
0001
10 0100 0001
1100
0111
1110
0101
11 1110
000011 = 1111
Substitution of from 6-bit to 4 bit conversion
16
Substitution Boxes S
have eight S-boxes which map 6 to 4 bits
each S-box is actually 4 little 4 bit boxes
outer bits 1 & 6 (row bits) select one rows
inner bits 2-5 (col bits) are substituted
result is 8 lots of 4 bits, or 32 bits
row selection depends on both data & key
feature known as autoclaving (autokeying)
17
18
19