Re: Confirmation of Shannon's Mistake about Perfect Secrecy of One-time-pad
- From: David Bernier <david250@xxxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 17:52:04 EDT
On Oct 24, 5:16 pm, wangyong <hell...@xxxxxxx> wrote:
On 10月24日, 上午4时26分, matt271829-n...@xxxxxxxxxxxwrote:
wrote:
On Oct 23, 3:09 pm, wangyong <hell...@xxxxxxx>
above proof misused
Shannon misused Bayes' formula, similarly the
P(M = x) ·2-n, we canBayes' formula. From P(M = x)·P (K = (x⊕y)) =
fixed value is neversee the condition that the ciphertext y is a
can get that result byconsidered when computing P(M = xΛC = y). We
(K = (x⊕y))=2-n (thatreductio ad absurdum. Suppose for fixed y, if P
It is used just to getis used in the proof, but indeed it is wrong.
2-n because there is awrong conclusion), we can get P(M = x|C = y)=
plaintexts and keys for theone-to-one correspondence between all the
wrong, for the priorfixed ciphertext in OTP. But it is obviously
equally likely. So P(M =probabilities of all plaintexts are seldom
probability of x and y when y isx)·P (K = (x⊕y)) stand for the joint
probability as thenot fixed. But Shannon thought of the posterior
been intercepted, we canprobability of plaintext when ciphertext had
= y) that y is fixed,see that there is a presupposition in P(M = x|C
not fixed, otherwisebut in P(M = x), P (K = (x⊕y)) and P(C=y), y is
way, the Bayes's formulawe can get obviously wrong results. In such
same presupposition andwas misused for the probability was not on the
that influence thethe equation does not come into existence.
In OTP there are complex and crytic conditions
so it is essential toprobability of plaintext, key and ciphertext,
probability theory. Thecognize all the conditions and carefully use
ciphertext was a fixedproof did not realize the crytic condition that
random variable.value (even though unknown) rather than a
character set
I suspect that a combination of typos and/or
equations. So, let meincompatibilities have garbaged some of your
= p, P(M=1) = 1-p,have a guess at what you're saying.
Let's keep with the simple scenario where P(M=0)
K=0 maps 0->0, 1->1,P(K=0) = 1/2, P(K=1) = 1/2, K and M independent.
encrypted message C=0.and K=1 maps 0->1, 1->0. We intercept the
Given that C=0, there
I'm guessing that you are reasoning as follows:
Because the proof usesis no longer an equal chance of K=0 and K=1.
proof must be wrong.the fact that these probabilities are equal, the
calculation of the
In fact, the K-probabilities used in the
probabilities===========, whichconditional probabilities must be the *a priori*
are indeed equal, and the proof is sound.
-----------------you are wrong at this place.
[matt271829:]
I don't think so.
if you are right======================================================
=======
=====The probabilities are all the ones in the casec is a random
variable, but not C=0.symbolically, so you
You've obviously spent a while working with this
yourself. From yourmight like to try a different approach to satisfy
computer programming, soaffiliation I assume you are familiar with
as the following. Youtry running a Monte Carlo-style simulation such
M_equals_1 / total ~will find that always M_equals_0 / total ~ p, and
of M=0 and M=1 are,1 - p. This demonstrates that that probabilities
as expected, unaffected by the fact that C=0.
====as I have pointed out above.
[matt271829:]
Huh???? So, now you *agree* that the probabilities of
M=0 and M=1 are
unaffected by observing C=0? Then you should have no
difficulty in
also agreeing that these probabilites are unaffected
by observing C=1,
and, therefore, that they are unaffected by observing
C, whatever
value we may find that C takes. So, intercepting the
message gives us
no additional information about M. What's the
problem?
I get the impression that you are inventing
complexities where none
exist. EITHER C is unknown and random (and M has its
prior, or
initial, distribution), OR C is known and fixed (and
M has its
conditional distribution). In the scenario we are
discussing, the
conditional distribution of M (after C is observed)
is exactly the
same as the prior distribution of M (before C is
observed), whatever
value of C actually is observed. And that's all there
is to it.
I thought of an experiment that might help.
If I give an adversary the ciphertext C and a
randomly chosen string of data with the same length
as C, called D, then what can the adversary do
to tell apart the real ciphertext C from the fake
one D?
I don't see how the adversry can tell them apart, or
say "this one has a better chance of being the
real ciphertext."
David Bernier
.
- Follow-Ups:
- References:
- Re: Confirmation of Shannon's Mistake about Perfect Secrecy of One-time-pad
- From: matt271829-news
- Re: Confirmation of Shannon's Mistake about Perfect Secrecy of One-time-pad
- Prev by Date: Biggest inscribing squares in a region
- Next by Date: Re: What paper for math problems?
- Previous by thread: Re: Confirmation of Shannon's Mistake about Perfect Secrecy of One-time-pad
- Next by thread: Re: Confirmation of Shannon's Mistake about Perfect Secrecy of One-time-pad
- Index(es):
Relevant Pages
|