Basic Cryptography Flashcards

1
Q

Briefly describe additive cipher.

A

An additive cipher is a type of substitution cipher that replaces a plaintext letter with another letter that is offset a number of positions down the alphabet. The key determines how many positions to offset.

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

How to encrypt and decrypt using additive cipher?

A

Encrypt: Ciphertext = (26 + Plaintext + Key) MOD 26
Decrypt: Plaintext = (26 + Ciphertext - Key) MOD 26

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

What is the role of key length in cryptography?

A

The key length determines the number of combinations required to break an encryption algorithm. The longer the key length, the longer the time it takes to brute force the encryption, therefore the more secure the encryption.

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

What is asymmetric encryption and give some examples?

A

An encryption algorithm that uses two keys: a public key and a private key. One is for encryption, and one is for decryption. Example: RSA

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

What is symmetric encryption and give some examples?

A

An encryption algorithm that encrypts a plaintext message and decrypts a ciphertext using the same key.

Examples:
Stream Ciphers: RC4
Block Ciphers: DES, 3DES, AES

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