Given a multiplicative group of order $q$ and modulus $p$. Given two constants $a$ and $b$ randomly sampled from $Z_q$. Let random variable $x_a$ be a pair $(x, x^a \mod p)$ and random variable $x_b$ be a pair $(x, x^b \mod p)$. Would the distribution of $x_a$ and $x_b$ be computationally distinguishable?
Asked
Active
Viewed 87 times
0
-
Here $a$ and $b$ are are known, otherwise the decision is simple: since a is known, simply gets $a^{-1}$ and given pair $(x, x^a)$ apply $(x^a)^{1/a}$ and check if it is equal to $x$. – Sean Jul 22 '21 at 12:35
-
Do you mean $a$ and $b$ are unknown? – Mark Schultz-Wu Jul 22 '21 at 14:56
1 Answers
1
The question is confusing in the use of the term "constants". However, it does say randomly sampled. So the random variable is $(x,x^a \bmod p)$ where $a$ is random in $\mathbb{Z}_q$. If this is the case, then the two distributions are identical. They are just the same distribution with different notation for the randomly sampled value.
Yehuda Lindell
- 27,820
- 1
- 66
- 83
-
Thanks for the feedback. I am still confused a bit. Given a pair $(x, x^a)$, I would assume that its probability appearing in the 2nd distribution would be 0? In another word, the $a$ and $b$ are fixed for the 1st and 2nd distribution. The $x$ is randomly sampled and then it leads to tuple $(x,x^a)$ and $(x, x^b)$. – Sean Jul 22 '21 at 12:59
-
I think I misunderstood the question. Is the probability space only over the choice of $x$, but not of $a$ or $b$? In that case, the distributions are trivially distinguished. – Yehuda Lindell Jul 22 '21 at 18:41
-
Thanks for the input! I'm wondering what is the idea for distinguishing the two using an efficient program? Given $x$, how does a probabilistic machine tell the difference between $x^a$ and $x^b$ if $a$ and $b$ are unknown? It looks like that it needs a lot of samples (of the two distribution) to find a conflicting pair? – Sean Jul 23 '21 at 00:52
-
There is confusion here. There isn't known and unknown. If they are fixed then they are assumed to be known. If they are unknown, then that would mean they are randomly chosen, and then it's the same random variable. There can of course be a case where a single $a$ is chosen and then many pairs with different random $x$'s are given relative to the same $a$. Bottom line, this just isn't well defined. – Yehuda Lindell Jul 23 '21 at 12:47
-
-
Let me rephrase the question: let $P_a$ be a probabilistic machine which knows a secret $a$ and generates a sequence of $n$ tuples: $(x_1, {x_1}^{a}), ..., (x_n, {x_n}^a)$ where the $x_i$ for each tuple is randomly sampled. Similarly, let a PPT $P_b$ be defined. Now let a challenger randomly pick two sequences generated by $P_a$ and $P_b$ (they could be both from $P_a$ or one from $P_a$ and one from $P_b$). Can one tell if the two sequences are generated by two different PPTs? – Sean Jul 24 '21 at 00:00
-
Does only $P_a$ know $a$, or does the distinguisher also know $a$? If the former, then the distributions are statistically identical; if the latter, then the distributions are trivially distinguished. – Yehuda Lindell Aug 24 '21 at 12:45
-
Thanks for the response! Distinguisher does not know $a$, $b$. So that solves my problem then. Thanks again! – Sean Aug 27 '21 at 12:29