Module 5 Flashcards

Block and Stream Cipher

1
Q

What are the 3 techniques of block cipher ?

A

1: substitution
2: permutation
3: looping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why DES have initial and final permutation?

A

just make reverse engirding less efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the relationship of initial and final permutation of DES ?

A

They are inverse of each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the two method to encrypt multiple blocks ?

A
  • Electronic Code Book(ECB)

- Cipher Block Chaining(CBC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the problem with ECB ?

A

Initial PT block can result identical CT block. help hacker reverse engirding the key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the IV process in CBC?

A

Initialization vector: is a random binary stream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is the problem with CBC?

A

sequential processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what happens when 3-DES’s k1=k2=k3?

A

it becomes 1-DES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Advantage of Stream cipher ?

A
  1. lightweight- mobile system
  2. high throughput -real-time system
  3. Bit error only affect one bit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Disadvantage of stream cipher ?

A
  1. sync between sender and receiver

2. strength depends on pseudorandom generator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How are the PSG are generated?

A

it use linear feedback shift register(LFSR) to generate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly