ArticleslgStudy

computer science

Computational indistinguishability

Computational indistinguishability is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Computational indistinguishability rather than just read about it. In short: In computational complexity and cryptography, two families of distributions are computationally indistinguishable if no efficient algorithm can tell the difference between them except with negligible probability. Formal definition Let {Dn}n∈ℕ and {En}n∈ℕ be two distribution ensembles indexed by a security parameter n (which usually refers to the length of the input); we say they are computationally indistinguishable…

Key takeaways

  • Computational indistinguishability belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Computational indistinguishability to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computational indistinguishability from memory before moving on to harder problems.

Reference excerpt

In computational complexity and cryptography, two families of distributions are computationally indistinguishable if no efficient algorithm can tell the difference between them except with negligible probability.

Formal definition Let {Dn}n∈ℕ and {En}n∈ℕ be two distribution ensembles indexed by a security parameter n (which usually refers to the length of the input); we say they are computationally indistinguishable if for any non-uniform probabilistic polynomial time algorithm A, the following quantity is a negligible function in n:

δ(n)=|Prx←Dn[A(x)=1]−Prx←En[A(x)=1]|. denoted Dn≈En. In other words, every efficient algorithm A's behavior does not significantly change when given samples according to Dn or En in the limit as n→∞. Another interpretation of computational indistinguishability is that polynomial-time algorithms actively trying to distinguish between the two ensembles cannot do so: that any such algorithm will only perform negligibly better than if one were to just guess.

Related notions Implicit in the definition is the condition that the algorithm, A, must decide based on a single sample from one of the distributions. One might conceive of a situation in which the algorithm trying to distinguish between two distributions, could access as many samples as it needed. Hence two ensembles that cannot be distinguished by polynomial-time algorithms looking at multiple samples are deemed indistinguishable by polynomial-time sampling. If the polynomial-time algorithm can generate samples in polynomial time, or has access to a random oracle that generates samples for it, then indistinguishability by polynomial-time sampling is equivalent to computational indistinguishability.

Quantum computational indistinguishability The notion of computational indistinguishability has been generalized to quantum information, where the objects being distinguished are quantum states rather than classical probability distributions. A pair of efficiently preparable quantum states is said to be computationally indistinguishable if no quantum polynomial-time (QPT) algorithm can distinguish them with non-negligible advantage, even though the states may be distinguishable in principle by computationally unbounded measurements. This notion, known as an efficiently indistinguishable (EFI) pair, provides a quantum analogue of classical computational indistinguishability. Quantum computational indistinguishability has become a central concept in quantum cryptography and quantum complexity theory. It underlies several modern quantum cryptographic primitives, including one-way state generators (OWSGs), pseudorandom quantum state generators (PRSGs), quantum commitments, and computational quantum money (see also Quantum cryptography).

References

External links Yehuda Lindell. Introduction to Cryptography Donald Beaver and Silvio Micali and Phillip Rogaway, The Round Complexity of Secure Protocols (Extended Abstract), 1990, pp. 503–513 Shafi Goldwasser and Silvio Micali. Probabilistic Encryption. JCSS, 28(2):270–299, 1984 Oded Goldreich. Foundations of Cryptography: Volume 2 – Basic Applications. Cambridge University Press, 2004. Jonathan Katz, Yehuda Lindell, "Introduction to Modern Cryptography: Principles and Protocols," Chapman & Hall/CRC, 2007 This article incorporates material from computationally indistinguishable on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.

Worked examples

Example 1 — a first encounter with Computational indistinguishability

Start with the simplest possible case. Write down what Computational indistinguishability claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Computational indistinguishability before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Computational indistinguishability ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Computational indistinguishability

In research
Computational indistinguishability appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Computational indistinguishability in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Computational indistinguishability is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algorithmic information theory, so understanding it makes those chapters shorter.
In everyday life
Look for Computational indistinguishability outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Computational indistinguishability” →

How to study Computational indistinguishability in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computational indistinguishability means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Computational indistinguishability out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computational indistinguishability in simple terms?

In computational complexity and cryptography, two families of distributions are computationally indistinguishable if no efficient algorithm can tell the difference between them except with negligible probability. Formal definition Let {Dn}n∈ℕ and {En}n∈ℕ be two distribution ensembles indexed by a s…

Why does Computational indistinguishability matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Computational indistinguishability?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Computational indistinguishability.

Tags

  • Algorithmic information theory

Keep exploring