Docsity

Construction of Pseudorandom Generators from One-Way Permutations, Study notes of Cryptography and System Security

Toggle sidebar
bg1
Recommended Reading.
•
KatzLindell 6.4.
We will prove:
Theorem 1
If one-way permutations exist, then pseudorandom generators exist (for any expansion
function
`(n) = poly(n)
).
The construction consists of two stages:
•
One-way permutations + hardcore bit
⇒
PRGs that stretch by 1 bit
•
PRGs with 1-bit stretch
⇒
PRGs with arbitrary stretch.
1 Hardcore Bits
⇒
PRGs with 1-bit Stretch
Theorem 2
If
f
is a one-way permutation with hardcore bit
b
, then
G(s) = f(s)b(s)
is a pseudo-
random generator.
Proof:
1. Suppose there is a PPT
D
that distinguishes between
G(S) = f(S)b(S)
and
Un+1 =f(S)R
with nonnegligible advantage
ε
(where
S
R
← {0,1}n
and
R
R
← {0,1}
).
2. Then
D
distinguishes between
Y0=f(S)b(S)
and
Y1=f(S)b(S)
with advantage
2ε
.
3. We can construct a PPT
A
that predicts
C
from
YC=f(S)◦(b(S)⊕C)
, where
C
R
← {0,1}
,
with probability at least
1/2 + ε
.
4.
B(f(S)) = A(f(S)C0)⊕C0
, where
C0
R
← {0,1}
, predicts
b(S)
with probability at least
1/2 + ε
.
This contradicts the denition of hardcore bit.
2Increasing the Expansion
First attempt: run
G
with many independent seeds.
Theorem 3
Let
G:{0,1}n→ {0,1}n+1
be a PRG. Then
G0(s1s2· · · s`) = G(s1)G(s2)· · · G(s`)
is
a PRG for any
`≤poly(n)
.
1
pf3

Partial preview of the text

Download Construction of Pseudorandom Generators from One-Way Permutations and more Study notes Cryptography and System Security in PDF only on Docsity!

Recommended Reading.

  • KatzLindell Ÿ6.4.

We will prove:

Theorem 1 If one-way permutations exist, then pseudorandom generators exist (for any expansion function `(n) = poly(n)).

The construction consists of two stages:

  • One-way permutations + hardcore bit ⇒ PRGs that stretch by 1 bit
  • PRGs with 1-bit stretch ⇒ PRGs with arbitrary stretch.

1 Hardcore Bits ⇒ PRGs with 1-bit Stretch

Theorem 2 If f is a one-way permutation with hardcore bit b, then G(s) = f (s)b(s) is a pseudo- random generator.

Proof:

  1. Suppose there is a PPT D that distinguishes between G(S) = f (S)b(S) and Un+1 = f (S)R with nonnegligible advantage ε (where S ← {R 0 , 1 }n^ and R ← {R 0 , 1 }).
  2. Then D distinguishes between Y 0 = f (S)b(S) and Y 1 = f (S)b(S) with advantage 2 ε.
  3. We can construct a PPT A that predicts C from YC = f (S) ◦ (b(S) ⊕ C), where C ← {R 0 , 1 }, with probability at least 1 /2 + ε.
  4. B(f (S)) = A(f (S)C′) ⊕ C′, where C′^ ← {R 0 , 1 }, predicts b(S) with probability at least 1 /2 + ε. This contradicts the denition of hardcore bit.

2 Increasing the Expansion

First attempt: run G with many independent seeds.

Theorem 3 Let G : { 0 , 1 }n^ → { 0 , 1 }n+1^ be a PRG. Then G′(s 1 s 2 · · · s) = G(s 1 )G(s 2 ) · · · G(s) is a PRG for any ` ≤ poly(n).

Proof: Hybrid technique. For i = 0,... , , dene the hybrid Hi = R 1 R 2 · · · RiG(Si+1) · · · G(S),

where Rj ← {R 0 , 1 }n+1^ and Sj ← {R 0 , 1 }n. Then H 0 ≡ G′(Un) and H ≡ Un+. Suppose that G′^ is not a PRG: there exists a PPT D such that:

Pr

[

D(G′(U`n)) = 1

]

− Pr [D(U`) = 1] > ε

where ε is nonnegligible. This inequality can be rewritten using the hybrids Hi:

`∑− 1

i=

(Pr [D(Hi) = 1] − Pr [D(Hi+1) = 1]) > ε,

so there exists an i such that

Pr [D(Hi) = 1] − Pr [D(Hi+1) = 1] >

ε `

Then the PPT D′(x) = D(R 1 · · · RixG(Si+2) · · · G(S)) distinguishes G(Si+1) ≡ G(Un) from Ri+1 ≡ Un+1 with advantage ε/. ⇒⇐

Better approach: composition.

Theorem 4 Let G : { 0 , 1 }n^ → { 0 , 1 }n+1^ be a PRG. Dene G(s 0 ) = b 1 b 2 · · · b, where si+1bi+1 def = G(si) for i = 0,... , − 1. Then, for any ≤ poly(n), Gis a PRG with expansion.

Proof: Intuition: G(s 0 ) = (s 1 , b 1 ) looks random & independent, so (G(s 1 ), b 1 ) = (s 2 , b 2 , b 1 ) looks random & independent, etc. To formalize this, we will use the hybrid technique. For i = 0,... , , dene Hi = Ui ◦ G−i(Un). Then H 0 = G(Un), H = U. As above, if G is not a PRG, then there exists a PPT D such such that

Pr [D(Hi) = 1] − Pr [D(Hi+1) = 1] >

ε `

where ε is nonnegligible. Dene the PPT D′(y):

  1. Write y = si+1bi+1 where |si+1| = n.
  2. Choose b 1 ,... , bi

R ← { 0 , 1 }.

  1. Let bi+2 · · · b= G−i− 1 (si+1).
  2. Run D(b 1 · · · b`)

If y ← G(Un) , then D is fed with b 1 · · · b← Hi. If y ← Un+1, then D is fed with b 1 · · · b ← Hi+1. Thus, Pr

[

D′(G(Un)) = 1

]

− Pr

[

D′(Un+1) = 1

]

ε `

ε is nonnegligible and is a polynomial so ε is nonnegligible, contradicting the assumption that G is a pseudorandom generator.