[25918] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: the meaning of linearity, was Re: picking a hash function to be encrypted

daemon@ATHENA.MIT.EDU (Travis H.)
Thu May 18 09:20:38 2006

X-Original-To: cryptography@metzdowd.com
X-Original-To: cryptography@metzdowd.com
Date: Thu, 18 May 2006 04:25:05 -0500
From: "Travis H." <solinym@gmail.com>
To: "Kuehn, Ulrich" <Ulrich.Kuehn@telekom.de>
Cc: leichter_jerrold@emc.com, cryptography@metzdowd.com
In-Reply-To: <d4f1333a0605180214i7f6689e5x64b949bf86d82cab@mail.gmail.com>

On 5/18/06, Travis H. <solinym@gmail.com> wrote:
> ... There's 255 "other" permutations, so the chance that there is
> at least one k' such that f_k'(x)=y is 255/256 = 99.6%.  The chance
> that there is exactly one such k' is sampling with replacement and if
> I am not mistaken P(|K|=1) = (255/256)^255 = 0.36.  Along those same
> lines, P(|K|=2) = (255/256)^253 * 254 / 256^2 = 0.001, so it looks
> like the expected number of equivocating keys is very small.

Oops, I left off a term in the recurrence.
P(|K|=2) = (255/256)^253 * ((254*255)/2)/(256^2) = 0.18

So the expected number of equivocating keys, given one byte of known
plaintext, is a bit under two.
-- 
"Curiousity killed the cat, but for a while I was a suspect" -- Steven Wright
Security Guru for Hire http://www.lightconsulting.com/~travis/ -><-
GPG fingerprint: 9D3F 395A DAC5 5CCC 9066  151D 0A6B 4098 0C55 1484

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

home help back first fref pref prev next nref lref last post