symmetric key encryption Flashcards

(14 cards)

1
Q

what is kerchoffs principle

A

encryption is secure , even if attacker knows everything apart from the key

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

what does frequency analysis do

A

Frequency analysis counts the number of times
each symbol occurs
each pair of symbols
etc.
and tries to draw conclusions from this

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

problem with one time key pads

A

key needs to be as long as the message
key can only be used once

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

describe block ciphers

A

Modern ciphers work on blocks of plain text, not just a single
symbol.
They are made up of a series of permutations and
substitutions repeated on each block.
The key controls the exact nature of the permutations and
subsitution

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

how does AES CBC encrpyt plaintext

A

overall uses previous ciphertext to encrypt the next block of plaintext to make a new ciphertext (by xoring PT with CT )
first block of plaintext is xored

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

what is a problem that occurs with AES CBC

A

computationally expensive, want to encrypte or decrypt a block that is later on in the chain you have to computer previous blocks before

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

how does AES CTR encrpyt plaintext

A

generates nonce and then nonce is incremented with a counter and then encypted and then the encrypted nonce is xored with plaintext to give the new cipher text block

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

what is a problem that occurs with AES CTR

A

vunerable to malleability attacks, since xoring is done after encryption
if you have PT and CT then you can change CT to get what you want
(known plaintext attack)

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

What is the AES CBC encryption notation

A

IV = random number (sent in the clear)
C1 = encrypt(B1 ⊕IV )
C2 = encrypt(B2 ⊕C1)
···
Cn = encrypt(Bn ⊕Cn−1)

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

what is the AES CTR

A

Plain text: B1, B2, . . . , Bn
IV : random number (sent in clear)
Cipher text: C1, C2, . . . , Cn where
C1 = B1 ⊕encrypt(IV )
C2 = B2 ⊕encrypt(IV + 1)
···
Cn = Bn ⊕encrypt(IV + n−1)

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

What is the AES CBC decryption notation

A

Receive IV
Receive cipher text C1, C2, . . . , Cn
Plain text is B1, B2, . . . , Bn, where
B1 = decrypt(C1) ⊕IV
B2 = decrypt(C2) ⊕C1
···
Bn = decrypt(Cn) ⊕Cn−1

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

how to decrypt AES CBC

A

Receive IV
Receive cipher text C1, C2, . . . , Cn
Plain text is B1, B2, . . . , Bn, where
B1 = decrypt(C1) ⊕IV
B2 = decrypt(C2) ⊕C1
···
Bn = decrypt(Cn) ⊕Cn−1

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

what is a known plaintext attacks

A

if i know plaintext i can change ctr if i know ciphertext and plaintext i can change the ciphertext to what i want it to be
EncCTR (M1) ⊕ (M1 ⊕M2)

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