Lecture 2
Probability review
Sample space set of outcomes (possible results of experiments)
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)
Back to cryptography
Defining security.
Perfect Secrecy (Shannon Secrecy)
or we can also write as for
And the decryption procedure:
, might be null.
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
Perfect Secrecy
For any 2 messages, say and for any possible cipher ,
For a fixed , any message could be encrypted to that...
Theorem
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