Question: A fundamental concept throughout cryptography and theoretical computer science is that of the advan - tage an algorithm has in distinguishing between two given distributions.

A fundamental concept throughout cryptography and theoretical computer science is that of the advan-
tage an algorithm has in distinguishing between two given distributions. We will define this here in the
context of secure communication we saw in the first lecture, and we will see more general versions of this
in later lectures. We will use the following notation.
Definition 2.1(Advantage). Consider two random variables x0,x1 over a finite space x, and an
algorithm A(possibly randomised) that takes an input from x and outputs 0 or 1. The advantage of A
in distinguishing between the random variables x0 and x1 is defined as:
advAx0,x1=|Prxlarrx1[A(x)=1]-Prxlarrx0[A(x)=1]|
Observe that this quantity is always between 0 and 1. We will see eventually how it serves as a
measure of how distinguishable two distributions are, starting now with the following.
Problem 2.1(3 points). Suppose random variables x0 and x1 are such that for every xinx, we have
Pr[x0=x]=Pr[x1=x]. Prove that for any algorithm A,advAx0,x1=0.
Hint. Try to first prove this assuming that A is deterministic, and then see how to extend it to randomised
algorithms.
Problem 2.2(3 points). Suppose random variables x0 and x1 are such that for any algorithm A, we
have advAx0,x1=0. Prove that for every xinx,Pr[x0=x]=Pr[x1=x].
 A fundamental concept throughout cryptography and theoretical computer science is that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!