liveBook · Manning

Elliptic-curve discrete logarithm problem

As explained in Elliptic Curve Cryptography for Developers

The elliptic curve discrete logarithm problem is the problem of recovering a scalar from a base point and its scalar multiple on an elliptic curve.

The elliptic-curve discrete logarithm problem (ECDLP) asks for the scalar k given a public base point G and its multiple A = kG. Elliptic-curve key exchange relies on the difficulty of recovering a private scalar from these public points. section 4.1.1

Its cryptographic role follows this sequence:

  • Choose private integers k_A and k_B, then publish A = k_A G and B = k_B G. section 4.1.1
  • Compute the shared point S from either k_A B or k_B A; both equal k_A k_B G. section 4.1.1
  • Use the x-component of S, or selected bits from it, as input to a symmetric cipher such as AES. section 4.1.1
  • Estimate security from the square-root attack cost: a 128-bit symmetric target requires about 256 bits in the relevant curve order or cardinality. section 4.1.1 section 14.1

For curves over prime fields, difficulty is governed by the size of the base-point order. Pairing-based systems must also account for attacks against the field extension, whose required sizes can grow faster because subexponential algorithms are considered relevant there. section 14.1

Alice and Bob

Alice publishes A = k_A G and Bob publishes B = k_B G. Alice computes k_A B, while Bob computes k_B A; each obtains the same point S without revealing either private scalar. section 4.1.1

How Elliptic Curve Cryptography for Developers covers it

How deep it goes
Defines the recovery problem, derives shared-point equations, and compares square-root security costs without detailing attack algorithms.
Examples
Uses Alice and Bob’s public keys, shared-point computations, and the 128-bit-to-256-bit security comparison.
What it assumes
Assumes elliptic-curve points, scalar multiplication, private/public keys, and symmetric encryption; defines ECDLP through the key-exchange workflow.
What you can do after
Evaluate elliptic-curve key-exchange security from scalar-recovery difficulty, curve order, and field-extension requirements.
How it connects
Connects elliptic-curve key exchange, symmetric encryption, AES, pairings, and field extensions.

Also explained in

Compare how 3 books explain elliptic-curve discrete logarithm problem →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Elliptic Curve Cryptography for Developers. The section links point to the parts of the book it draws on.