Intro Flashcards

(15 cards)

1
Q

What does CIA stand for?

A

Confidentiality - Prevent information disclosure to unauthorized parties

Integrity - Prevent information modification by unauthorized parties

Availability - Ensuring information is available (accessible) to authorized parties

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

define cryptography

A

Cryptography is the study of mathematical
techniques related to aspects of information security such as confidentiality,
data integrity, entity authentication, and data origin authentication

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

define steganography

A

the science of hiding messages in other messages in other messages or images

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

define cryptanalysis

A

the science of analysing a cryptographic system to break/ circumvent it

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

what type of key is Ke = Kd?

A

secret or symmetric key
typically used for payload encryption

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

what type of key is Ke = public Kd = private?

A

public or asymmetric key
usually denoted pk (public) and sk (secret)

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

what type of cipher is the caesar cipher?

A

mono-alphabetic substitution cipher

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

what is the encryption algorithm for the vigenere cipher?

A

key k is a short word or phrase (defining a sequence of integers)
use the letters in a cyclic order to define a sequence of Caesar ciphers

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

vigenere cipher security?

A

26t where t is length of passphrase
exhaustive key search becomes expensive (by hand)
use of multiple caesar ciphers even out frequencies and makes frequency analysis hard

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

what is the formal definition of correctness?

A

Deck2(Enck1(p)) = p

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

why does frequency analysis work to decode a caesar cipher?

A

letters in a lamguages aren’t uniformly distributed

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

what is the encryption algorithm for one-time pad, in terms of P, K and C?

A

plaintext P = P0, P1 … Pi where Pi are integers between 0 and 25

a key K = K0, K1 … Kn’ where Ki are integers between 0 and 25 and n’ >= n

encryption: Ci = Pi + Ki mod 26

decryption: Pi = Ci - Ki mod 26

use a different key Ki for each letter we encrypt without repetition

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

What is the security of one-time pad?

A

If each Ki is uniformly random value from {0, 25} and we use each Ki only once, then the ciphertext Ci leaks nothing more about the plaintext P than was known before, except for it’s length

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

how can one-time pad be implemented using bits?

A

encryption: Ci = Pi + K i mod 2 –> Ci = Pi XOR Ki

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

how secure is the one time pad? what are the caveats?

A

OTP is unbreakable BUT
-the key space needs to be at least as large as the message space
-key must be distributed in advace to the communicating parties
—this creates significant key management and distribution problems
-the key can only be used securelys for a singular plaintext
-using the key more than once is fatal to security

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