16: Basic Ciphers Flashcards

1
Q

What is the basic idea of cryptography ?

A

A sender sends a plain text input message which is encrypted using a secret key and an encryption algorithm (cypher), and then decrypted to the plain text using the key.

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

Who has the key ?

A

Both the sender and the recipient.

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

Which way do we turn for Caesar’s cypher ?

A

Left (unless mentioned otherwise).

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

For letter A, what is the encrypted letter for

1) k = 25 ?
2) k = 26 ?

A

1) B

2) A

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

What is the key to a strong encryption algorithm ?

A

The secret key.

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

How can we break Caesar’s cipher ?

A
  • We can calculate the offset k
  • We can try all the 25 offset possibilities until text decodes
  • We can look at language’s letter frequency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Playfair’s cipher ?

A

Each pair of successive letter by another pair letter.

Key is 5x5 table.

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

What is a mono-alphabetic cipher ?

A

It uses an arbitrary permutations of letters.

A bijective key (1-1 map): A->B and B->A

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