Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- PRNG: a deterministic algorithm that produces random-looking numbers from a seed.
Exam weight Low
Exam weight Low
Exam weight High
- Stream cipher: keystream XOR plaintext. Never reuse a keystream (same key + IV).
🎯 How this can come up · 1 question
True / False
Reusing the same keystream for two messages is safe if the messages differ.
False. C1 ⊕ C2 = P1 ⊕ P2 leaks information.
Exam weight Low
Exam weight Low
- RC4: variable-length key, byte-oriented stream cipher, simple and fast. Used in WEP and old TLS; now considered broken.
Exam weight Low
- RC4 key schedule (KSA) permutes the 256-byte state S using the key; the PRGA then outputs keystream bytes.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- ECB: each block encrypted independently. Identical plaintext blocks → identical ciphertext blocks (patterns leak).
Exam trapECB leaks patterns (the "ECB penguin"); never use it for more than one block.
🎯 How this can come up · 1 question
MCQ
Which mode produces identical ciphertext for identical plaintext blocks?
Correct: ECB.
Exam weight Low
Exam weight Low
Exam weight High
- CBC: each plaintext block is XORed with the previous ciphertext block (first with an IV) before encryption. Sequential encryption; an error affects two blocks.
🎯 How this can come up · 1 question
MCQ
In CBC, the first plaintext block is XORed with:
Correct: The IV.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- CFB: turns a block cipher into a self-synchronizing stream cipher.
Exam weight Low
Exam weight Low
Exam weight Low
- OFB: keystream from repeatedly encrypting the IV; bit errors don’t propagate.
Exam weight Low
Exam weight Low
Exam weight High
- CTR: encrypt a counter for each block and XOR. Parallel, random access, needs a unique nonce per message.
🎯 How this can come up · 1 question
MCQ
Which mode allows parallel encryption and random access to blocks?
Correct: CTR.
Exam weight Low
Exam weight Low
Exam weight Low
No slides match this filter.











