Cryptography Lecture 2 Notes
Cryptography Lecture 2 Notes
FEISTEL CIPHER
— Proposed the use of a cipher that alternates substitutions and permutations
o Substitution: each plaintext element or group of elements is uniquely replaced
by a corresponding ciphertext element or group of elements
o Permutation: no elements are added or deleted or replaced in the sequence,
rather the order in which the elements appear in the sequence is changed
— Is a practical application of a proposal by Claude Shannon to develop a product cipher
that alternates confusion and diffusion functions
— Is the structure used by many significant symmetric block ciphers currently in use
F FUNCTION IN DES
— Expansion P-box (Permutation box)
o 32 bits to 48 bits
— 8 S-box (Substitution box)
— Straight P-box
F FUNCTION IN DES
DES EXAMPLE
— Plaintext: 02468aceeca86420
— Key: 0f1571c947d9e859
— Ciphertext: da02ce3a89ecac3b
— Note: DES subkeys are shown as eight 6-bit values in hex format
AVALANCHE EFFECT IN DES: CHANGE IN PLAINTEXT