Security (2) Flashcards

1
Q

What is symmetric key cryptography?

A

Alice and Bob share the same (symmetric) key: Ks

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

What is a Substitution Cipher?

A

Substitute one thing for another

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

What are Block Ciphers?

A
  • Message is broken into blocks
  • Each block is encrypted / decrypted separately
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Cipher Block Chaining?

A
  • First block is XOR’d with an arbitrary number known by both parties (initialization vector or IV)
  • Following blocks are XOR’d with previous block
  • Decryption: apply the substitution using Ks, then XOR with previous block
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is DES?

A

Data Encryption Standard

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

Is DES considered secure?

A
  • No - can be brute forced in less than a day
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does DES work?

A
  • 56-bit symmetric key, 64-bit plaintext input
  • Block cipher: substitution derived from symmetric key
  • Cipher block chaining: initial number derived from symmetric key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which is more secure: AES or DES?

A
  • AES
  • Brute force decryption that takes 1 second for DES takes 149 trillion years for 128-bit AES
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is AES?

A

Advanced Encryption Standard

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

How does AES Work?

A
  • Symmetric key
  • 128 bit block cipher
  • 128, 192, or 256-bit key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly