Lecture13 BlockCipher
Lecture13 BlockCipher
Lecture13 BlockCipher
Modue4 - Lecture 1
Today’s Lecture
• Pseudorandom Functions
• Block cipher: Basic design ideas
• Feistel networks
• Data Encryption Standard (DES) Algorithm
Stream Cipher vs Block Cipher
Stream Cipher vs Block Cipher
Standards
Pseudorandom Function
Random Function
• Consider functions f: S → S
• Let S= {0, 1}
• Then possible functions are:
0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1
• A block cipher operates on a plaintext block of n bits to produce a ciphertext block of n bits. There are
2n possible different plaintext blocks and, for the encryption to be reversible each must produce a
unique ciphertext block. So if we limit ourselves to reversible mappings, the number of different
transformations is 2n!.
Block Ciphers
• Block ciphers are practical constructions of pseudorandom
permutations
• The output values (L1d , R1d) of the first decryption round 1 represented in terms of the input values of the last
encryption round (L15,R15) .
Analysis on DES: Good Avalanche Effect