Secret Key Encryption Flashcards
(6 cards)
What is ECB Mode?
Encrypts each block independently. Same input block → same output. Weak: patterns are preserved.
Not recommended for secure use.
What is CBC Mode?
Uses IV to encrypt the first block. Each block is XORed with previous ciphertext. Breaks repetition → better security.
One change = ripple through ciphertext.
What are CFB, OFB, and CTR modes?
CFB: Feedback mode using IV and XOR. OFB: Similar to CFB, turns block cipher into stream. CTR: Uses a counter + nonce to encrypt (parallelizable).
What are deterministic modes?
Always same result for same plaintext: ✅ ECB (bad) ❌ CBC, CFB, OFB, CTR (use random IVs or counters).
What is the Skipjack Cipher?
Developed by NSA. 80-bit key. Operates on 64-bit blocks.
Less secure by today’s standards.
How many rounds does AES have based on key size?
128-bit key → 🔁 10 rounds. 192-bit key → 🔁 12 rounds. 256-bit key → 🔁 14 rounds.
More key = more transformation rounds.