Module 5 Flashcards
Block and Stream Cipher
What are the 3 techniques of block cipher ?
1: substitution
2: permutation
3: looping
Why DES have initial and final permutation?
just make reverse engirding less efficient.
What is the relationship of initial and final permutation of DES ?
They are inverse of each other.
What are the two method to encrypt multiple blocks ?
- Electronic Code Book(ECB)
- Cipher Block Chaining(CBC)
What is the problem with ECB ?
Initial PT block can result identical CT block. help hacker reverse engirding the key.
what is the IV process in CBC?
Initialization vector: is a random binary stream
what is the problem with CBC?
sequential processing
what happens when 3-DES’s k1=k2=k3?
it becomes 1-DES
Advantage of Stream cipher ?
- lightweight- mobile system
- high throughput -real-time system
- Bit error only affect one bit.
Disadvantage of stream cipher ?
- sync between sender and receiver
2. strength depends on pseudorandom generator
How are the PSG are generated?
it use linear feedback shift register(LFSR) to generate