4b Encryption Flashcards

(5 cards)

1
Q

What is meant by perfectly secure?

A

Code will never be broken no matter how much time someone has

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

What 3 conditions must be met for a cipher to be perfectly secure?

A
  1. Key must only be used once
  2. Key must be truly random
  3. The key must be only be know to the user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is the Caesar cipher?

A

A cipher where each letter is substituted/shifted to another letter
E.g. with a shift of 1 a would be replaced by b and so on

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

What is the vernam cipher?

A

A cipher that uses a one time pad that generates a long sequence of random letters that are combined with the plain text to encrypt it.
In theory it is perfectly secure.

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

How do you encipher a message?

A

Take the ascii of the letter in the message and xor it with the ciphers letter.

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