


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



CS 120: Introduction to Cryptography
Salil Vadhan and Alon Rosen Oct. 19, 2006
Recommended Reading.
Motivation: If f is a OWF, it is hard to determine x from f (x), but is it also hard to compute a particular bit of x from f (x), say the rst bit of x? Random guessing gives a probability of success of 12 but some bits might be even easier to guess. A few examples:
A one-way function can reveal a large part of its input: is there a fraction of the bits of the input which is always well-hidden? (i.e. any polynomial-time algorithm cannot have a nonnegligible advantage over random guessing when computing those bits from the output of the function) The answer is no, because we can construct one-way functions such that each bit of x can be obtained from f (x) with high probability. Thus, we instead look for some bit of information which is hard to compute.
Denition 1 b : { 0 , 1 }∗^ → { 0 , 1 } is a hardcore bit (or hardcore predicate) for one-way function f if
Pr [A(f (X)) = b(X)] ≤
where the probability is over X ← {R 0 , 1 }n^ and the coin tosses of A.
Denition 2 {bkey : Dkey → { 0 , 1 }}key∈K is a collection of hardcore bits for the collection of one- way functions F = {fkey : Dkey → Rkey} if
Pr [A(1n, K, fK (X)) = bK (X)] ≤
where the probability is taken over K ←R G(1n), X ←R DK , and the coin tosses of A.
RSA functions • The least signicant bit is a hardcore bit for RSA:
lsbN,e : Z∗ N 7 → { 0 , 1 }
Given N, e, xe^ mod N , we cannot compute lsbN,e(x) with a nonnegligible advantage over random guessing.
Rabin's functions • The least signicant bit is a hardcore bit for Rabin's functions:
lsbN : Z∗ N 7 → { 0 , 1 }
Given N, x^2 mod N , we cannot compute lsbN (x) with a nonnegligible advantage over random guessing.
Modular Exponentiation/Discrete Log halfp− 1 (x) is a hardcore bit for Modular Exponentia- tion.
Does every one-way function have a hardcore bit? The following theorem proves that from any arbitrary OWF, we can construct a OWF with a hardcore bit by taking the XOR of a random subset of bits. For x, r ∈ { 0 , 1 }n, dene 〈x, r〉 =
i xiri^ mod 2 =^ ⊕i|ri=1xi.
Theorem 3 (GoldreichLevin hardcore bit) Let f be any one-way function, and dene f ′(x, r) = (f (x), r) for ||x|| = ||r||. Then 〈x, r〉 is a hardcore bit for f ′.
This theorem is most interesting when f is one-to-one. Note that if f is one-to-one, then so is f ′.
Proof ideas:
Reducibility argument: Suppose that there exists a PPT A that predicts 〈x, r〉 from (f (x), r) with nonnegligible advantage over random guessing. We construct a PPT B that uses A to invert f with nonnegligible probability.
Easy case: Assume that A(f (x), r) computes the hardcore bit 〈x, r〉 with probability 1.
Observation 1: Let e(i)^ = (0 · · · 010 · · · 0) (1 in the i'th position and 0 elsewhere). We observe that 〈x, e(i)〉 = xi. We dene B(y) as follows:
3 /4+ε/ 2 (probability just over R and the coin tosses of A). Call these good x. For each good x and each i ∈ { 1 ,... , n}, Pr [A(f (x), R) ⊕ A(f (x), R ⊕ ei) 6 = xi] ≤ 2 ·(1−(3/4+ε/2)) = 1/ 2 −ε. Thus, the above algorithm inverts f with high probability on f (x) for each good x (for a total success probability of ≈ ε/ 2 ).
General case (A computes hardcore bit with probability 1 /2 + ε) requires additional ideas.
Theorem 4 (Goldreich-Levin hardcore bit for collections) Let F = {fi : Domi → Rngi} be any collection of one-way function, and dene gi,r(x) = fi(x), bi,r(x) = 〈x, r〉. Then {bi,r : Domi → Rngi} is a collection of hardcore bits for the collection of one-way functions {gi,r : Domi → Rngi}.