Predictability (PRG)
- •
Definition
- •
a generator is predictable if there's some position and an efficient algorithm that, given only the first output bits, can guess the -th bit with probability noticeably better than (i.e. for non-negligible )
- •
- •
Why predictability breaks security
- •
if an attacker knows a plaintext prefix (e.g. an email is known to start with "From:"), they can XOR it against the matching ciphertext prefix to recover a prefix of the pseudorandom pad — and a predictable generator lets them extend that prefix to predict (and thus decrypt) the rest of the message
- •
- •
Unpredictable generator
- •
a generator where no efficient algorithm can do this, for any position — a necessary (and, by Yao's Next-Bit Theorem, sufficient) condition for a secure PRG
- •
- •