Symmetric Encryption: Block Ciphers Flashcards

1
Q

Give an explanation of Block Ciphers…

A

Plain text is broken up into blocks of certain bits. The plain text blocks and corresponding keys are fed into an encryption algorithm. The encryption functions ciphers the input block using the key. This is usually done with a composite cipher. The encryption function outputs the cipher text. The cipher text is always the same size as the inputted plain text.

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

What size is the output cipher text?

A

Same size as the input plain text.

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

What are the 3 main block ciphers algorithms used today?

A

DES, 3DES, AES.

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

DES: What size input blocks and what size key is used?

A

Input block : 64 bits
Key : 56 bits

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

DES positive…

A

Resistant to cryptanalysis

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

DES negative…

A

Short key length leaves the the key prone to brute force attacks.

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

DES : How long would it take a modern supercomputer to brute for the key used in DES?

A

Estimated 1 hour to obtain the 56 bit key.

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

3DES : How does 3DES work?

A

3DES is an extension to DES that uses a larger key and a layered approach. The message is split into 64 bit blocks, and fed into the encryption algorithm with a 168 bit key. The output is then fed into another encryption function with a fresh 168 bit key. The output is then once again fed into another encryption function with a fresh 168 bit key. Essentially, the block is triple encrypted with a new key each time. Then, a 64 bit cipher text block is output.

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

3DES : Which algorithm does it use?

A

DES.

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

3DES : What is the size of the block and and what is the size of the key?

A

Block : 64 bit
Key : 168 bit

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

3DES : Why was it introduced?

A

To resolve the issue of key weakness in initial DES.

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

3DES : Pros

A

Key length - The larger key makes it more resistant to brute force attacks.
Resistant to cryptanalysis - DES is tried and tested, and is unbroken as of yet.

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

3DES : Cons

A

Slow - Developed in the 70’s, thus, implementation is not optimised for modern systems.
Key generation - The continuous generation of fresh keys when encrypting the blocks can be computationally expensive.
Key distribution - All 3 keys on each run have to be shared to enable the encryption / decryption relationship.

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

AES : Explain how AES works

A

AES is a composite cipher that takes in 128 bit blocks of plain text, and encrypts them with either 128, 192 or 256 bit keys. The function then outputs a 128 bit block of cipher text.

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

AES : What type of cipher does it use?

A

A composite cipher. This means it uses a substitution and transposition cipher.

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