Diffie–Hellman problem¶
Compute the shared exponentiation result from two public powers in a specified cyclic group.
Core Idea¶
The computational Diffie–Hellman problem is an algebraic reconstruction task. In a specified cyclic group with generator g, a solver sees two public powers, g^a and g^b, and must compute g^(ab) without being given either exponent. The defining target is a group element, not the exponents themselves.
Diffie and Hellman's key-distribution scheme motivates the problem: each party knows one private exponent and can raise the other's public power to obtain the same result. For an observer with only the public pair, difficulty is an assumption about a chosen group and computational resources, not a theorem supplied by the notation. The decisional variant and discrete logarithm problem are adjacent but ask different questions.
How would you explain it like I'm…
The Secret Paint Puzzle
The Eavesdropper's Puzzle
Computing the Shared Secret
Scope of Application¶
This is the computational shared-power task in a stated cyclic group, not a proof of security for a protocol.
- Cryptographic assumptions. State exactly which group-specific computational difficulty a scheme relies on.
- Key-agreement analysis. Separate public exchange from the third party's shared-power recovery task.
- Complexity comparison. Compare CDH with discrete logarithm and decisional DH without asserting universal equivalence.
- Educational algebra. Use a tiny group to verify the relation while labeling it insecure as a hardness example.
Clarity¶
The output is g^(ab). Recovering a is discrete logarithm; deciding whether a proposed third value equals g^(ab) is decisional DH. The same equation in a tiny group is easy and does not justify a security claim.
Manages Complexity¶
The formal problem isolates one algebraic challenge from a much larger key-agreement system. That isolation makes reductions and assumptions comparable, but it can hide group selection, protocol authentication, and implementation effects. The abstraction is useful precisely when those extra commitments are named as separate layers.
Abstract Reasoning¶
Specify group and generator, identify the public powers, and define the shared-power output while hiding both exponents. Then distinguish mathematical solvability from group-specific computational hardness and from full protocol security.
Knowledge Transfer¶
The computational relation transfers literally across finite-group settings that preserve the exponent laws, although hardness must be reconsidered for each group. A generic 'shared secret from public inputs' analogy is too broad to inherit the exact DH problem. The portable skeleton is algebraic composition of hidden exponents; the domain-bound identity is the group-power computation with cryptographic difficulty interpretation.
Neighborhood in Abstraction Space¶
Diffie–Hellman problem sits in a moderately populated region (48th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Cryptographic & Combinatorial Hardness Problems (5 abstractions)
Nearest neighbors
- Sums of three cubes — 0.88
- Achilles Number — 0.86
- Order (group theory) — 0.86
- Complement (group theory) — 0.86
- Ree group — 0.86
Computed from structural-signature embeddings · 2026-10-08