Lecture 4 - Cryptography Basics Flashcards

1
Q

What are the ingredients of cryptography?

A
  • plaintext (original text to be encrypted)
  • encryption algorithm (substitution and transposition of plaintext)
  • secret key (the input to the algorithm)
  • ciphertext (algorithm output)
  • Decryption algorithm (reverse of the encryption algorithm)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Classification of cryptography?

A
  • type of operations used to transform plaintext to ciphertext (are we using substitution or transposition or both) -> information can’t be loss regardless!
  • way of processing plaintext (block or stream)
  • number of keys used (same or different)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between block and stream when processing plaintext?

A

Block processes the input of one block of elements at a time, while Stream cipher processes the input elements continuously (one at a time).

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

What is it called when we are using one key for encryption?

A

Symmetric encryption

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

What is it called when we are using 2 keys for encryption?

A

Asymmetric encryption

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

What is symmetric encryption?

A

Both the sender and receiver have the same key, which can be used for decryption and encryption.

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

What is asymmetric encryption?

A

This is where the public key used for encryption is publicly available, while the private key is only available to the receiver. Sender encrypts using public, receiver decrypts with private.

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

What is a massive problem with asymmetric encryption?

A

encryption by private key can be decrypted with the public key, so avoid encrypting with private key as then everyone can decrypt

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