ScholarGate
Assistant

Elliptic-Curve Cryptography

Elliptic-curve cryptography (ECC) realizes public-key schemes over the group of points on an elliptic curve, achieving the same security as RSA or finite-field Diffie-Hellman with much smaller keys.

Definition

Elliptic-curve cryptography is public-key cryptography whose underlying group is the set of points on an elliptic curve over a finite field, with security based on the difficulty of the elliptic-curve discrete logarithm problem.

Scope

This topic covers the elliptic-curve group law over finite fields, the elliptic-curve discrete logarithm problem, and the schemes built on them: elliptic-curve Diffie-Hellman (ECDH), the ECDSA and EdDSA signature schemes, and modern curves such as Curve25519. It addresses why elliptic-curve discrete logs are harder than finite-field ones (no subexponential index calculus) and implementation concerns like nonce reuse in ECDSA. It excludes RSA and finite-field discrete-log schemes covered in sibling topics.

Core questions

  • How does the geometric addition of points on an elliptic curve form a cryptographic group?
  • Why is the elliptic-curve discrete logarithm harder than its finite-field analog, allowing smaller keys?
  • How are Diffie-Hellman and digital signatures instantiated over elliptic curves?
  • What makes modern curves like Curve25519 safer to implement than older NIST curves?
  • Why is per-signature nonce uniqueness critical in ECDSA?

Key concepts

  • elliptic curve group law
  • scalar multiplication
  • elliptic-curve discrete logarithm problem
  • ECDH
  • ECDSA
  • EdDSA and Ed25519
  • Curve25519
  • nonce reuse vulnerability
  • key size vs RSA

Key theories

Elliptic-curve discrete logarithm problem
Given points P and Q = kP on a curve, recovering the scalar k is believed to require fully exponential effort for well-chosen curves, because the index-calculus attacks that weaken finite-field discrete logs do not apply.
Smaller keys for equal security
Because the best attacks on elliptic-curve discrete logs are generic square-root algorithms, a 256-bit elliptic curve gives roughly 128-bit security — comparable to 3072-bit RSA — yielding faster operations and smaller keys and signatures.

Mechanisms

Points on an elliptic curve over a finite field form an abelian group under a geometric addition law; repeatedly adding a base point P to itself k times (scalar multiplication, kP) is efficient, but recovering k from kP is the hard problem. ECDH performs Diffie-Hellman by exchanging scalar multiples of a base point; ECDSA and EdDSA produce signatures from a per-message scalar (a nonce) — which, if repeated or predictable, leaks the private key, as several real breaches showed.

Clinical relevance

ECC is the default public-key choice for new systems: ECDHE provides forward-secret key exchange in TLS 1.3, Ed25519 signs SSH keys, software updates, and certificates, and Curve25519 secures Signal, WireGuard, and modern messaging. Its small keys and fast operations make it well suited to mobile devices, smart cards, and constrained IoT hardware.

Evidence & guidelines

ECDSA is standardized in FIPS 186, ECDH in NIST SP 800-56A, and EdDSA/Ed25519 in RFC 8032; Curve25519/X25519 in RFC 7748. Modern practice favors Edwards curves and X25519 for their resistance to implementation pitfalls. The breakdown of ECDSA when nonces are reused (notably the 2010 Sony PlayStation 3 key extraction) is a cautionary standard example.

History

Neal Koblitz and Victor Miller independently proposed using elliptic curves for cryptography in 1985-1987. Adoption was initially slow due to patent and trust concerns and the complexity of the NIST curves, but ECC became dominant in the 2010s as key-size efficiency mattered more and Bernstein's Curve25519 (2006) and Ed25519 offered fast, misuse-resistant designs now widely deployed.

Key figures

  • Neal Koblitz
  • Victor Miller
  • Daniel J. Bernstein
  • Alfred Menezes
  • Scott Vanstone

Related topics

Seminal works

  • koblitz1987
  • hankerson2004
  • katz2020

Frequently asked questions

Why does a 256-bit elliptic-curve key match a 3072-bit RSA key?
The best known attacks on the elliptic-curve discrete logarithm are generic and take time about the square root of the group size, whereas factoring and finite-field discrete logs have faster subexponential algorithms. So elliptic curves need far fewer bits for the same security level.
Are the NIST elliptic curves trustworthy?
The standard NIST P-curves are widely used and not known to be broken, but their unexplained constant choices and implementation difficulty led many to prefer Curve25519 and Ed25519, which have transparent design rationales and are easier to implement safely in constant time.

Methods for this concept

Related concepts