Computational indistinguishability (source code)

= Computational indistinguishability

= Computationally indistinguishable
{synonym}

Two indexed families of <probability distributions> $X_n$ and $Y_n$ are <computationally indistinguishable> when every allowed efficient test has only negligible distinguishing advantage:
$$
\left|\Pr[D(X_n)=1]-\Pr[D(Y_n)=1]\right|.
$$
Here negligible means eventually smaller than $n^{-k}$ for every fixed positive $k$. The <probabilities> include the sampled input and the test's randomness; the model must specify whether tests are uniform <algorithms> or nonuniform <Boolean circuits>.

The claim limits an observer's power. Two distributions can be far apart for an unrestricted observer yet indistinguishable to polynomial-time observers. This is the security goal for a <pseudorandom generator>: its output should look uniform even though a short seed reaches only a small fraction of all possible outputs.<Introduction to Theoretical Computer Science by Boaz Barak>[Modeling randomized computation, Pseudorandom generators and efficient distinguishing tests]{ref}