Secret Key Encryption Flashcards

(6 cards)

1
Q

What is ECB Mode?

A

Encrypts each block independently. Same input block → same output. Weak: patterns are preserved.

Not recommended for secure use.

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

What is CBC Mode?

A

Uses IV to encrypt the first block. Each block is XORed with previous ciphertext. Breaks repetition → better security.

One change = ripple through ciphertext.

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

What are CFB, OFB, and CTR modes?

A

CFB: Feedback mode using IV and XOR. OFB: Similar to CFB, turns block cipher into stream. CTR: Uses a counter + nonce to encrypt (parallelizable).

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

What are deterministic modes?

A

Always same result for same plaintext: ✅ ECB (bad) ❌ CBC, CFB, OFB, CTR (use random IVs or counters).

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

What is the Skipjack Cipher?

A

Developed by NSA. 80-bit key. Operates on 64-bit blocks.

Less secure by today’s standards.

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

How many rounds does AES have based on key size?

A

128-bit key → 🔁 10 rounds. 192-bit key → 🔁 12 rounds. 256-bit key → 🔁 14 rounds.

More key = more transformation rounds.

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