ArticleslgStudy

computer science

Computational hardness assumption

Computational hardness assumption 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 hardness assumption rather than just read about it. In short: In computational complexity theory, a computational hardness assumption is the hypothesis that a particular problem cannot be solved efficiently (where efficiently typically means "in polynomial time"). It is not known how to prove (unconditional) hardness for essentially any useful problem.

Key takeaways

  • Computational hardness assumption 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 hardness assumption to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computational hardness assumption from memory before moving on to harder problems.

Reference excerpt

In computational complexity theory, a computational hardness assumption is the hypothesis that a particular problem cannot be solved efficiently (where efficiently typically means "in polynomial time"). It is not known how to prove (unconditional) hardness for essentially any useful problem. Instead, computer scientists rely on reductions to formally relate the hardness of a new or complicated problem to a computational hardness assumption about a problem that is better-understood. Computational hardness assumptions are of particular importance in cryptography. A major goal in cryptography is to create cryptographic primitives with provable security. In some cases, cryptographic protocols are found to have information theoretic security; the one-time pad is a common example. However, information theoretic security cannot always be achieved; in such cases, cryptographers fall back to computational security. Roughly speaking, this means that these systems are secure assuming that any adversaries are computationally limited, as all adversaries are in practice. Computational hardness assumptions are also useful for guiding algorithm designers: a simple algorithm is unlikely to refute a well-studied computational hardness assumption such as P ≠ NP.

Comparing hardness assumptions Computer scientists have different ways of assessing which hardness assumptions are more reliable.

Strength of hardness assumptions We say that assumption A is stronger than assumption B when A implies B (and the converse is false or not known). In other words, even if assumption A were false, assumption B may still be true, and cryptographic protocols based on assumption B may still be safe to use. Thus when devising cryptographic protocols, one hopes to be able to prove security using the weakest possible assumptions.

Average-case vs. worst-case assumptions

An average-case assumption says that a specific problem is hard on most instances from some explicit distribution, whereas a worst-case assumption only says that the problem is hard on some instances. For a given problem, average-case hardness implies worst-case hardness, so an average-case hardness assumption is stronger than a worst-case hardness assumption for the same problem. Furthermore, even for incomparable problems, an assumption like the exponential time hypothesis is often considered preferable to an average-case assumption like the planted clique conjecture. However, for cryptographic applications, knowing that a problem has some hard instance (the problem is hard in the worst-case) is useless because it does not provide us with a way of generating hard instances. Fortunately, many average-case assumptions used in cryptography (including RSA, discrete log, and some lattice problems) can be based on worst-case assumptions via worst-case-to-average-case reductions.

Falsifiability A desired characteristic of a computational hardness assumption is falsifiability, i.e. that if the assumption were false, then it would be possible to prove it. In particular, Naor (2003) introduced a formal notion of cryptographic falsifiability. Roughly, a computational hardness assumption is said to be falsifiable if it can be formulated in terms of a challenge: an interactive protocol between an adversary and an efficient verifier, where an efficient adversary can convince the verifier to accept if and only if the assumption is false.

Common cryptographic hardness assumptions There are many cryptographic hardness assumptions in use. This is a list of some of the most common ones, and some cryptographic protocols that use them.

Integer factorization

Given a composite integer n, and in particular one which is the product of two large primes n=p⋅q, the integer factorization problem is to find p and q (more generally, find primes p1,…,pk such that n=∏ipi). It is a major open problem to find an algorithm for integer factorization that runs in time polynomial in the size of representation (log⁡n). The security of many cryptographic protocols rely on the assumption that integer factorization is hard (i.e. cannot be solved in polynomial time). Cryptosystems whose security is equivalent to this assumption include Rabin signature and the Okamoto–Uchiyama cryptosystem. Many more cryptosystems rely on stronger assumptions such as RSA, residuosity problems, and phi-hiding.

RSA problem

Given a composite number n, exponent e and number c:=me(modn), the RSA problem is to find m. The problem is conjectured to be hard, but becomes easy given the factorization of n. In the RSA cryptosystem, (n,e) is the public key, c is the encryption of message m, and the factorization of n is the secret key used for decryption.

Residuosity problems

Given a composite number n and integers y,d, the residuosity problem is to determine whether there exists (alternatively, find an) x such that

xd≡y(modn). Important special cases include the quadratic residuosity problem and the decisional composite residuosity problem. As in the case of RSA, this problem (and its special cases) are conjectured to be hard, but become easy given the factorization of n. Some cryptosystems that rely on the hardness of residuousity problems include:

Goldwasser–Micali cryptosystem (quadratic residuosity problem) Blum Blum Shub generator (quadratic residuosity problem) Paillier cryptosystem (decisional composite residuosity problem) Benaloh cryptosystem (higher residuosity problem) Naccache–Stern cryptosystem (higher residuosity problem)

Phi-hiding assumption

For a composite number m, it is not known how to efficiently compute its Euler's totient function ϕ(m). The phi-hiding assumption postulates that it is hard to compute ϕ(m), and furthermore even computing any prime factors of ϕ(m) is hard. This assumption is used in the Cachin–Micali–Stadler PIR protocol.

Discrete log problem (DLP)

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Computational hardness assumption

Start with the simplest possible case. Write down what Computational hardness assumption 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 hardness assumption 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 hardness assumption 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 hardness assumption

In research
Computational hardness assumption 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 hardness assumption 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 hardness assumption is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational hardness assumptions, Computational number theory, Theory of cryptography, so understanding it makes those chapters shorter.
In everyday life
Look for Computational hardness assumption 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 hardness assumption” →

How to study Computational hardness assumption in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computational hardness assumption 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 hardness assumption out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computational hardness assumption in simple terms?

In computational complexity theory, a computational hardness assumption is the hypothesis that a particular problem cannot be solved efficiently (where efficiently typically means "in polynomial time"). It is not known how to prove (unconditional) hardness for essentially any useful problem.

Why does Computational hardness assumption 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 hardness assumption?

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 hardness assumption.

Tags

  • Computational hardness assumptions
  • Computational number theory
  • Theory of cryptography

Keep exploring