

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!


Randomness, Pseudorandomness and Derandomization Sept 15th, 2010
Professor: Avi Wigderson (Institute for Advanced Study) Scribe: Dai Tri Man Lˆe
In this talk, we will continue the discussion on pseudorandomness, but in the context of cryp- tography. In fact, the idea of pseudorandomness was proposed in the context of cryptography.
The goal of cryptography before 1970s mainly concerned with secret communications between two parties, Alice and Bob, in the present of adversaries who want to learn the secret messages. It is based on a very strong assumption that Alice and Bob share some information that no one else has. Since 1970s, the study of cryptography no longer assumes that Alice and Bob share any private information, but we still want them to be able to communicate privately. One might wonder if it is even possible for Alice and Bob to “speak” a secret language without meeting each other before? In fact, this is required when we want to shop online safely with our credit cards! Secret communication in such a setting is among the main goals of modern cryptography. The theory of public-key encryption is what is really behind the e-commerce security. It was started in the ’70s with remarkable papers by Diffie-Hellman, Merkle, Rivest-Shamir-Adleman, Rabin, where the key conceptual idea is to develop cryptography theory based on computational complexity, which leads to notions like one-way functions and trapdoor functions. However, this is still not yet the mathematics of cryptography. It was due to a paper by Goldwasser-Micali in 1981 and contributions by Blum-Micali and Yao that define key formal definitions, proof techniques, and introduces the important concepts: computational indistinguishability and pseudorandomness, which form the basic mathematics of cryptography. However, the goals of modern cryptography are more than just secret communications. We want to deal with many situations where there are requirements for both privacy and resilience. For examples, proving a person’s identity, money transfer, public bids, poker game on the phone, etc. We want to do all of these digitally without trusted parties. It is striking that all of these ideas were developed before the emergence of the Internet!
Modern cryptography is built based on two main computational complexity assumptions. The first assumption is that every agent participating in the communication is computational bounded (say, to polytime). Thus, only tasks with efficient algorithms can be performed in this computational limited setting. The second assumption is that factoring integers is hard. It follows from these two assumptions that it is easy for each agent to multiply two prime numbers p and q, but no party can factorize products p · q efficiently without knowing p or q in advance. Thus, we can intuitively think of the pair (p, q) as in an open “envelope” and the product p · q as (p, q) in a sealed “envelope”. So the two assumptions provides a form of digital envelope in modern cryptography. We will elaborate a bit more on the idea of digital envelope, also formally called commitment scheme. Note that multiplying two integers is just one example of so called one-way functions. A
one-way function is a function that is easy to compute on every input, but hard to invert given the image of a random input. So we can construct commitment schemes out of any one-way function. Thus, the second assumption can be more appropriately stated as: there exists a one-way function. Blum showed in 1981 that digital envelopes can be seen as commitments as demonstrated in the following example. Assume Alice and Bob no longer trust each other, but they want to play a bet over the phone by letting Alice choose a side of a coin, and then Bob tosses the coin. But how does Alice know if Bob is honest about the result of the coin toss? One possible way is the following. First, Alice makes her commitment (head or tail) in advance, puts it inside a digital envelope and then sends it to Bob, and thus Alice can no longer change the content inside of the envelope and Bob can’t see what is inside the envelope. After Bob tosses the coin and reports the result to Alice, Alice will open the envelope to show Bob the content hidden inside. We will now discuss the mathematical construction of a digital envelope more formally. Note that the definitions are simplified and not complete for the sake of simplicity. Assume that we have an injective function f : { 0 , 1 }n^ → { 0 , 1 }n, which is one-way, i.e., f can be computed in polytime, and for every “efficient” algorithm A,
Probx∈{ 0 , 1 }n [A(x) = f −^1 (x)] ≤ ,
for some = 1/poly(n). Then by an important theorem in cryptography due to Goldreich and Levin, there is a function b : { 0 , 1 }n^ → { 0 , 1 }, called a hardcore predicate, such that for every “efficient” algorithm A,
Probx∈{ 0 , 1 }n [A(f (x)) = b(x)] ≤ 1 /2 + ,
for some = 1/poly(n). Now, we assume that σ ∈ { 0 , 1 } is the bit that Alice wants to hide, then we can pick a random r ∈ { 0 , 1 }n, and define C(σ, r) := (f (r), b(r) ⊕ σ). We claim that C(σ, r) is a valid commitment scheme. First, it follows from a property of hardcore predicates that f (r) fully defines b(r), and so C(0, r) 6 = C(1, r). Second, we need to show that the bit σ is computationally hidden. Suppose that some “efficient” algorithm can distinguish C(0, r) from C(1, r), then it can also distinguish (f (r), b(r) from (f (r), ¯b(r)). Thus it is possible to guess b(r) efficiently given f (r). This contradicts that b(r) is a hardcore predicate. Another way to look at it is that assuming r is taken from a uniform distribution, no efficient algorithm can distinguish (within some error ) the output distributions D 1 and D 2 of C(0, r) and C(1, r) respectively. In other words, for every “efficient” algorithm A, ∣ ∣Probr∈{ 0 , 1 }n [A(C(0, r)) = 1] − Probr∈{ 0 , 1 }n [A(C(1, r)) = 1]
We can think of computational distinguishability as a form of distance:
dcomp(D 1 , D 2 ) = max all efficient A
where A(D) denotes Probx∼D[A(x) = 1]. Note that this is different the usual statistical distance between D 1 and D 1 : dstat(D 1 , D 2 ) = max all possible A
where we allow tests A with unlimited resources. Recall that in the first lecture, we actually use computational distinguishability when defining pseudorandom distributions. A distribution D is (computationally) pseudorandom if it cannot be efficiently distinguished from a uniform distribution D, i.e., the computation distance dcomp(D, U ) is small.