A team needs information-theoretic perfect secrecy for a 2 KB message and will use a one-time pad. Which key meets the requirement?
Show the answer
Correct answerB. A truly random key as long as the message, used for this message only
AWhy not this: Reuse is fatal: XORing two ciphertexts removes the key and leaks the XOR of the two plaintexts.
BWhy this is right: Random, message-length and single-use are the three conditions that give a one-time pad perfect secrecy.
CWhy not this: Expanding a short key makes a stream cipher, which is computationally secure but not a one-time pad and gives no perfect secrecy.
DWhy not this: A passphrase-derived key is low entropy and deterministic, so it is not truly random and is guessable.
A one-time pad gives perfect secrecy only if the key is truly random, at least as long as the message, and never reused. A reused pad is tempting because it is random and long enough, but XORing two ciphertexts cancels the key and exposes the XOR of the plaintexts.