Professional Documents
Culture Documents
02B ModernCryptography
02B ModernCryptography
SEC 521
Network Security
Cryptography
2
Modern Ciphers
• Block Ciphers
• If the message is more than n-bits, it is divided into n-bit blocks
• Encrypts n-bit block of plaintext
• Decrypts n-bit ciphertext to plaintext
• If the message is fewer than n-bits padding is added to make n-bit
block
• Substitution ciphers
• A 1-bit or 0-bit in the plaintext is replaced by either a 0 or a 1
• Transposition ciphers
• The bits are only reordered
• The same number of 1’s in plaintext and ciphertext
• Modern block ciphers are designed in combination of
transposition and substitution units 3
Modern Ciphers
4
Modern Ciphers
5
Modern Ciphers
6
DES (Data Encryption Standard)
7
DES Overview
8
DES Overview
9
DES Permutations
10
DES Permutation Tables
11
DES Permutation Example
12
DES Overview
13
DES Round
14
DES Function
15
DES Expansion
16
DES Expansion p-box table
17
DES XOR
18
DES S-Boxes
19
DES S-Boxes
20
DES S-Box1
21
DES S-Box1 Example
22
DES Straight Permutation
23
DES Encryption and Decryption
24
DES Key Generation
25
DES Key Generation
26
DES Key Generation
27
DES Analysis
28
DES Analysis
29
DES Analysis
30
DES Analysis
31
The end
Important to do at home :
- Read Chapter 5,6 of Forouzan book