Info: Def: a cipher defind over (K, M, C)
a cipher is a pair of “efficient” algs (E, D) where and
Consistency equation:
every cipher has to satisfy it in order to be a cipher. Other wise, it would be unpossible to decrypt.
- E is often randomized. D is always deterministic.
One time pad
Warning: First example of a “secure” cipher.
A key in one time pad is a random sequence of bits that’s as long as the message to be encrypted.
Success: If all you see is the cipher text, you should know nothing about the plain text.
Def: a cipher (E, D) over (K, M, C) has perfect secrecy if ,
where k is uniform in K, k is a random variable that’s uniformly smaple in the key space K.
if an attacker intercept a particular cipher text c, he has no idea about what it comes from. Even the most powerful attacker can learn nothing about the plain text from the cipher text.
Tip: There is only one OTP key map to
Danger: Perfect secrecy requires