A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Computational Hardness Assumptions

Research Depth 98 in the knowledge graph ☐ I know this ☆ Set as goal
21topics build on this
537prerequisites beneath it
See this on the map →
Complexity Class NP: Nondeterministic Polynomial TimeDiffie-Hellman Key Exchange+1 more→→Attribute-Based EncryptionCode-Based Cryptography+6 more
hardness-assumption factoring cdh ddh reduction

Core Idea

Modern cryptography is built on unproven mathematical assumptions: specific computational problems (factoring, CDH, DDH, LWE) are believed to be intractable for polynomial-time algorithms. A cryptographic scheme's security is proven by reduction — showing that any efficient attacker breaks the scheme only if they can also solve the underlying hard problem. Assumptions are arranged in a hierarchy: DDH implies CDH implies DLP; factoring implies RSA. Weaker assumptions yield stronger results. The gap between "no one knows how to solve X" and "X is provably hard" is the foundational epistemic limitation of cryptography — no hardness assumption has been proven unconditionally (doing so would resolve P != NP).

Explainer

Every modern cryptographic scheme's security proof has the form: "If assumption X holds, then this scheme is secure." Computational hardness assumptions are the unproven mathematical beliefs on which the entire field rests. The most important are the factoring assumption (factoring the product of two large primes is computationally intractable), the RSA assumption (computing e-th roots modulo n = pq is hard without the factorization), the Computational Diffie-Hellman (CDH) assumption (computing gab from ga and gb in a well-chosen group is hard), and the Decisional Diffie-Hellman (DDH) assumption (the triple (ga, gb, gab) is computationally indistinguishable from (ga, gb, gc) for random a, b, c).

These assumptions are arranged in a hierarchy of strength. DDH implies CDH (if you can compute gab, you can certainly distinguish it from random), and CDH implies DLP (if you can compute discrete logarithms, you can solve CDH). A stronger assumption is one that is easier to break — DDH is stronger than CDH because there are more potential ways to break DDH (distinguish without computing). Cryptographers prefer to base schemes on the weakest possible assumption because it is the hardest to break: a scheme based on CDH remains secure even if DDH turns out to be false. The gold standard is basing everything on one-way functions (the weakest useful assumption), which exist if and only if P != NP for specific function families.

Security proofs work by reduction: the cryptographer constructs an algorithm that, given any efficient attacker against the scheme, converts it into an efficient solver for the assumed hard problem. If the hard problem is believed unsolvable in polynomial time, the scheme must be secure — any efficient attacker would contradict the assumption. The tightness of the reduction matters practically: if the reduction introduces a large loss factor (converting an advantage of epsilon against the scheme into an advantage of epsilon/230 against the hard problem), the scheme's concrete security is much weaker than the raw assumption suggests, requiring larger parameters to compensate.

The deepest limitation of this approach is that no hardness assumption has been proven unconditionally. Proving that factoring is hard would separate complexity classes in ways that would effectively resolve the P vs NP question. The entire edifice of computational cryptography rests on empirical confidence — decades of smart people failing to solve these problems — rather than mathematical proof. This is why the field maintains a portfolio of assumptions: if factoring falls (to quantum computers or new classical algorithms), schemes based on lattice assumptions (LWE, SIS) may survive. Diversifying assumptions is cryptography's hedge against the inherent uncertainty of unproven conjectures.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Two-Way Finite Automata → NFA to DFA Conversion (Subset Construction) → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Pushdown Automata (PDA) → Equivalence of CFGs and Pushdown Automata → Closure Properties of Context-Free Languages → Limitations of Context-Free Languages → Pumping Lemma for Context-Free Languages → Turing Machines → Variants of Turing Machines and Equivalence → Nondeterministic Time Complexity and NP → The P vs. NP Problem → Complexity Class P: Polynomial Time → Hash Functions and Collision Resistance → The RSA Cryptosystem → Computational Hardness Assumptions

Longest path: 99 steps · 537 total prerequisite topics

Prerequisites (3)

Leads To (8)