secrecy if ∀m 0 ,m 1 ∈M (|m 0 |=|m 1 |) and ∀c∈C Pr[E(k,m 0 )=c] = Pr[E(k,m 1 )=c] where k⟵K Given ciphertext can’t tell if msg is m 0 or m 1 Adversary learns nothing about plaintext from ciphertext No ciphertext only attack! (but other attacks possible)
c[0] c[1] c[2] c[3] D(k, ·) D(k, ·) D(k, ·) ⊕ ⊕ ⊕ ⊕ x If attacker can differentiate the padding error and message error, then attacker could break this cipher. x⊕0x1⊕ guess g guess 1 message error if guess is correct padding error if guess is wrong