Docsity

Leftover Hash Lemma - Combinatorial Complex | MATH 778C, Study notes of Mathematics

Toggle sidebar
bg1
Leftover Hash Lemma
Joshua Cooper
March 2, 2009
Lemma 1. Let m=k−2 log(1/). Then, for every (n, k)-source X,
∆(H(X)◦H, Um◦H)< ,
where His a randomly chosen function from a pairwise independent {0,1}n
to {0,1}mhash function family Hparameterized by {0,1}n+m.
Proof. Let p∈R22m+ndenote the probability vector corresponding to a ran-
dom choice of x∈ {0,1}nand h∈ H (represented as a length n+mbit
string). We wish to show that
1
2|p−
1
|1< ,
where
1
corresponds to the uniform distribution. It is possible to write
p=
1
+wfor some w⊥
1
, so we may apply the Pythagorean theorem and
Cauchy-Schwarz to conclude
1
2|p−
1
|1≤1
22m+n/2kp−
1
k2=1
22m+n/2qkpk2
2− k
1
k2
2.(1)
Now, k
1
k2
2= 2−2m−n, so it remains to compute kpk2
2. It is not hard to see
that
kpk2
2=Px,x0∈X
h,h0∈H
(h(x)◦h=h0(x0)◦h0).
Since the suffixes of the two strings strings must agree, this probability can
be written
kpk2
2= 2−n−m·Px,x0∈X
h∈H
(h(x)◦h=h(x0)◦h).
1
pf2

Partial preview of the text

Download Leftover Hash Lemma - Combinatorial Complex | MATH 778C and more Study notes Mathematics in PDF only on Docsity!

Leftover Hash Lemma

Joshua Cooper

March 2, 2009

Lemma 1. Let m = k − 2 log(1/). Then, for every (n, k)-source X,

∆(H(X) ◦ H, Um ◦ H) < ,

where H is a randomly chosen function from a pairwise independent { 0 , 1 }n to { 0 , 1 }m^ hash function family H parameterized by { 0 , 1 }n+m.

Proof. Let p ∈ R^2 2 m+n denote the probability vector corresponding to a ran- dom choice of x ∈ { 0 , 1 }n^ and h ∈ H (represented as a length n + m bit string). We wish to show that

1 2

|p − 1 | 1 < ,

where 1 corresponds to the uniform distribution. It is possible to write p = 1 + w for some w ⊥ 1 , so we may apply the Pythagorean theorem and Cauchy-Schwarz to conclude

1 2

|p − 1 | 1 ≤

2 m+n/^2 ‖p − 1 ‖ 2 =

2 m+n/^2

‖p‖^22 − ‖ 1 ‖^22. (1)

Now, ‖ 1 ‖^22 = 2−^2 m−n, so it remains to compute ‖p‖^22. It is not hard to see that ‖p‖^22 = Px,x′∈X h,h′∈H

(h(x) ◦ h = h′(x′) ◦ h′).

Since the suffixes of the two strings strings must agree, this probability can be written ‖p‖^22 = 2−n−m^ · Px,x′∈X h∈H

(h(x) ◦ h = h(x′) ◦ h).

There are two ways that the event “h(x) ◦ h = h(x′) ◦ h” can occur: x = x′^ or x 6 = x′^ but h(x) = h(x′). The former has probability at most 2−k, since X is an (n, k)-source. (Here we are using the easily derived fact that this probability is maximized by a flat source.) The latter probability is exactly equal to 2−m, since H is a pairwise independent hash function family. Therefore,

‖p‖^22 ≤ 2 −n−m(2−k^ + 2−m) = 2−n−m−k^ + 2−n−^2 m.

Plugging this into (1) yields

∆(H(X) ◦ H, Um ◦ H) ≤

2 m+n/^2

2 −n−m−k

= 2m+n/^2 −^1 −n/^2 −m/^2 −k/^2 = 2m/^2 −k/^2 −^1 = 2−^ log 1/−^1 = / 2 < .