CSE442T Introduction to Cryptography (Lecture 2)
Probability review
Sample space
Event
outcome
Conditional probability:
Assuming is the known information. Moreover,
Probability that and occurring:
So (Bayes Theorem)
There is always a chance that random guess would be the password… Although really, really, low…
Law of total probability
Let . and are disjoint events.
( are all disjoint)
Chapter 1: Introduction
Defining security
Perfect Secrecy (Shannon Secrecy)
or we can also write as for
And the decryption procedure:
, might be null.
Definition 11.1 (Shannon Secrecy)
Distribution over the message space
Basically, we cannot gain any information from the encoded message.
Code shall not contain any information changing the distribution of expectation of message after viewing the code.
NO INFO GAINED
Definition 11.2 (Perfect Secrecy)
For any 2 messages, say and for any possible cipher ,
For a fixed , any message (have a equal probability) could be encrypted to that…
Theorem 12.3
Shannon secrecy is equivalent to perfect secrecy.
Proof:
If a crypto-system satisfy perfect secrecy, then it also satisfy Shannon secrecy.
Let be a perfectly secret crypto-system with and .
Let be any distribution over messages.
Let .
and is constant due to perfect secrecy