Lecture 1 Flashcards

1
Q

How are the sets m and C related when it comes to cryptography? What is cipher space?

A

There is a set m of all possible messages, and a set C of all possible “transmitted forms” of messages(known as cipher space). These will be related by a key, a shared secret the sender and receiver have.

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

What is a symmetric cryptosystem?

A

A pair of functions, encoding takes as input the key and message to produce cipher text, Decoding takes a key and cipher text to produce the original message.

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

What are the four common types of attacks on messages to find the key?

A
  • Ciphertext only.
  • Known plaintext(some of a message with known cipher text is known).
  • Chosen plaintext(Eavesdropper can send their own message, and find out the associated cipher text).
  • Brute force(every possible key is tried, with a garbage detector to find wrong messages).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does a substitution cipher work? What are they weak to?

A

Replaces every possible key with another key. Some of these are vulnerable to brute force, such as the caesar cipher. But for the most part they re mainly vulnerable to ciphertext only(languages have known letter frequencies and letter combinations), known plaintext(can find most letters), and chosen plaintext attacks(send alphabet).

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

How does a Vigenere cipher work? What is it vulnerable to?

A

Uses a key word of some length, this key is then looped and added to the mssage to determine the cipher text. If the key is the same length or greater than the message then the eavesdropper cannot gain any information. However if the key repeats it is vulnerable to chosen plaintext(send all A’s to find key), known plaintext(can subtract down to A’s), and ciphertext(work out key length with brute force(key is not likely to be super short or super long and break down into columns, then checking letter frequencies.)

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