Professional Documents
Culture Documents
Lecture 1.5
Lecture 1.5
Pankaj Kumar
Assistant Professor
• Call the plaintext stream P, the ciphertext stream C, and the key stream
K.
• Stream ciphers process messages a bit or byte at a time when encrypt-
ing/decrypting
• Many current ciphers are block ciphers
Modern block ciphers are all product ciphers, but they are divided into two
classes.
1 Feistel ciphers
2 Non-Feistel ciphers
• Feistel Ciphers: Feistel designed a very intelligent and interesting
cipher that has been used for decades. A Feistel cipher can have three
types of components: self-invertible, invertible, and noninvertible.
• Block size
• Key size
• Number of rounds
• Subkey generation algorithm
• Round function
• Fast software encryption/decryption
• Ease of analysis
• Block size: Larger block sizes mean greater security. But, reduced
encryption/decryption speed. Greater security is achieved by greater
diffusion. Block size of 64 bits has been considered a reasonable. How-
ever, the new AES uses a 128-bit block size.
• Key size: Larger key size means greater security but may decrease
encryption/decryption speed. Greater confusion. Key sizes of 64 bits
or less are now widely considered to be inadequate, and 128 bits has
become a common size.
• Number of rounds: The essence of the Feistel cipher is that a single
round offers inadequate security but that multiple rounds offer increas-
ing security. A typical size is 16 rounds.