Perfect Secrecy & One Time Pad: Prof. Ashok K Bhateja, IIT Delhi
Perfect Secrecy & One Time Pad: Prof. Ashok K Bhateja, IIT Delhi
Perfect Secrecy & One Time Pad: Prof. Ashok K Bhateja, IIT Delhi
𝑃 𝐶 = 𝑏 𝑃(𝐵 = 𝑔|𝐶 = 𝑏)
Bayes theorem: 𝑃 𝐶=𝑏𝐵=𝑔 =
𝑃(𝑔)
6 3
𝑃 𝐶 = 𝑏 𝑃(𝐵 = 𝑔|𝐶 = 𝑏) ∙ 9
= = 10 4 =
𝑃 𝐶 = 𝑟 𝑃 𝐵 = 𝑔 𝐶 = 𝑟 + 𝑃 𝐶 = 𝑏 𝑃(𝐵 = 𝑔|𝐶 = 𝑏) 4 1 6 3 11
∙ + ∙
10 4 10 4
AK Bhateja IIT Delhi
5 Perfect Secrecy
Key is random
Length of key length of plaintext
Key non reusable
Secret Key Distribution
Plaintext length n
Ciphertext length n