← Back to section · Foundations of Cryptography
Computational Complexity and Reduction Proofs: How Security Conclusions Are Reasoned
Cryptography rarely proves «this scheme is secure» directly; it proves «breaking this scheme would solve a recognised hard problem». This article explains the complexity language — polynomial time, negligible probability — and the logical shape of reduction proofs, including what they do and do not guarantee.
Open any modern cryptography paper and the security theorems share one sentence shape: “if a certain problem is hard, then this scheme is secure against a certain attack”. This is not evasion; it is a precise mode of reasoning. Cryptography almost never proves a scheme secure directly — it reduces the scheme’s security to a problem that has been studied for a long time and is widely believed hard. This article explains the language and logic of that reasoning; understanding it is the key to reading the true strength of any security claim.
The complexity language: polynomial time and negligible probability
The protagonist of security definitions is the probabilistic polynomial-time (PPT) adversary: an algorithm allowed to flip coins, whose running time is bounded by a polynomial in the security parameter. The security parameter (often written λ) is the knob everything scales with, such as key length. The adversary’s achievement is measured by its advantage: how much its success probability (forging a signature, distinguishing ciphertexts) exceeds pure random guessing. If this advantage decays, as λ grows, faster than the inverse of every polynomial — for each polynomial p it eventually drops below 1/p(λ) — it is called negligible, and the attack counts as failure. Conversely, any non-negligible advantage (even a constant 1/λ³) counts as a break, however small it looks in a single run: repeating the attack polynomially many times amplifies it to a constant. This asymptotic language is somewhat abstract, but it is the only general way to formalise “infeasible in practice”.
Reductions: retrofitting the adversary into a problem solver
The core move of a reduction proof is a thought experiment. Suppose a PPT adversary A breaks scheme S. The proof constructs another algorithm B whose task is to solve the underlying hard problem (factoring large integers, discrete logarithms, LWE, and so on). B uses A as a component: it receives an instance of the hard problem, disguises it as a legitimate environment for S (public keys, oracle answers), feeds it to A, and processes A’s output into an answer to the hard problem. If A’s advantage in breaking S is non-negligible and B’s disguise is convincing enough, then B solves the hard problem with non-negligible probability — contradicting the assumption that the problem is hard. Hence no such A exists, and S is secure.
The most famous historical example is a relative of RSA: certain factoring-based constructions (such as Rabin encryption) were proved equivalent to factoring — the ability to decrypt arbitrary ciphertexts yields a factorisation of the modulus. RSA itself still has no such equivalence proof; its security rests on the more specialised “RSA assumption”. The lesson: the strength of a reduction’s conclusion depends on how well-studied and “hard-core” the target problem is.
A concrete reduction sketch: from signature forgery to discrete logarithms
Let us ground the abstract move in a concrete example. The security argument for Schnorr signatures runs roughly as follows. Suppose a forger F can produce valid signatures on random messages. The reduction B receives a discrete-logarithm challenge y = g^x and must recover x. B hands y to F as the public key, and plays the role of the random oracle answering F’s hash queries — this uses the random oracle model of the next article: B can “program” the oracle, pre-arranging the answers to certain queries. After F delivers a forgery, B applies the forking lemma: it rewinds F to a query point in the forgery process and re-runs it with a different challenge value. The two forgeries give two equations about the same commitment, and solving them jointly yields x. Thus “can forge Schnorr signatures” has been retrofitted into “can solve discrete logarithms”. The sketch displays the standard parts of a reduction: simulating the environment, programming the oracle, rewinding and re-running, solving the combined equations — a real paper’s proof is essentially these parts polished to rigour.
The grades of reduction targets: from equivalence proofs to bespoke assumptions
Reduction targets also come in grades. The hardest is an equivalence reduction: breaking the scheme and solving the problem reduce to each other, as with Rabin encryption and factoring. One grade below are reductions to standard problems with long public research histories — discrete logarithms, decisional Diffie–Hellman (DDH), LWE — whose difficulty estimates rest on decades of recorded attacks. Below that are bespoke new assumptions tailored to a scheme (various knowledge assumptions, q-type assumptions): not unreasonable, but thinly studied, and if the assumption itself falls, a family of schemes built on it falls together. Sorting a reduction’s target into these three grades is the first step in weighing a security claim. Lattice cryptography holds an extra trump card: the worst-case to average-case reduction pioneered by Ajtai — breaking randomly generated LWE instances would solve every instance (the worst case) of certain lattice problems. This upgrades “hard on average” to “the hardest instances are hard too”, an insurance that number-theoretic problems such as factoring do not enjoy, and it is often cited as a deep reason to trust lattice schemes.
Tightness and models: read the premises with the conclusion
Reductions differ in quality. In a tight reduction, B’s success probability differs from A’s advantage only by a constant factor, and the problem’s hardness transfers to the scheme almost unchanged. A loose reduction may lose a large factor (for example, B’s success probability may be only A’s advantage divided by q, the number of oracle queries), in which case parameters must be chosen more conservatively — larger — to reach the target strength. When a paper reports “128-bit security”, that figure may or may not already include the reduction loss; this is exactly where careful reading is needed.
Reductions are also often carried out in idealised models, most commonly the random oracle model, where a hash function is treated as a truly random function. A proof in the model does not imply security in the standard model: contrived counterexamples exist that are provably secure with a random oracle yet breakable with any concrete hash function. Such conclusions should be read as “secure under the ideal-hash assumption”. Other models of varying strength include the generic group model and the algebraic group model. The correct reading is a conditional sentence: the fewer and weaker the premises (problem assumption + model + tightness), the more the conclusion is worth.
Summary
Complexity and reductions give cryptography a common currency: security is no longer “I feel it is hard to break” but “breaking it is equivalent to (or no easier than) solving a specific problem, with quantifiable loss”. But it is not a universal stamp either: a reduction rules out breaks under one attack definition, while real-world strength must also account for implementation, side channels and protocol composition. When reading any security claim, first find its reduction sentence, then inspect the list of premises — that is the habit this article aims to leave behind.
Tags: Computational ComplexitySecurity ReductionsProvable Security