Title: Data Encryption Standard (DES) An example of secret key (i.e., symmetric) encryption system
1Data Encryption Standard(DES)An example of
secret key (i.e., symmetric) encryption system
- Note These figures are meant to help
illustrating a few points. (The goal is to save
time in reproducing large tables figures on the
board and coping them in the notebooks.) There
are other important points covered in class that
are not given in the following slides. Please
refer to the lectures and the text book for
details.
2DES is a complex combination of substitution and
transposition (CONFUSION and DIFFUSION)
repeatedly applied, one on top of the
other, for total of 16 cycles
3One DES cycle (total 16)
Initial permutation 16 cycles Inverse initial
permutation
Combines permutation and substitution, including
key
4Permutation
General idea rearrange the characters
Example in class Columnar transposition Write
the plain text in 5 columns
M A R Y L
A N D W V
U G A M E
I S T O N
I G H T X
Cipher text - read by column mauii angsg rdath
ywmot lvenx
5Expansion permutation
6Permuted Choice
7S-Box Substitution, Choice
8S-Box look-up table Example
Example The input to block S7 is 010011 (6 bits)
In block S7 choose row 1, column 9 The output is
3, that is, 0011 binary (4 bits)
9P- box Permutation
Straight permutation Each input bit is moved to
a new position in the output
Rearrangement used in DES
Bits Goes to position Goes to position Goes to position Goes to position Goes to position Goes to position Goes to position Goes to position
1 - 8 9 17 23 31 13 28 2 18
9 16 24 16 30 6 26 20 10 1
17 24 8 14 25 3 4 29 11 19
25 - 32 32 12 22 7 5 27 15 21