Skip to main content
Challenges ECDLP on a small curve
Cryptography Medium ECDLP Solves: 7

ECDLP on a small curve

Author: CyberSamSU
Points
45

ECDLP (elliptic curve discrete logarithm problem): finding k given G and Q = k·G. The entire security of ECC relies on the difficulty of this problem — but only when the curve is large enough.

Here p is only 32-bit, meaning the number of points according to Hasse is also around ~232. In such a group, the baby-step giant-step (BSGS) algorithm finds k in ~√n ≈ 216 steps:

  1. Let m = ceil(sqrt(n)).
  2. «Baby steps»: calculate j·G for j = 0..m-1 and write them to a dictionary.
  3. «Giant steps»: calculate Q - i·m·G for i = 0, 1, 2, ... and search in the dictionary.
  4. If a match is found — k = i·m + j.

Memory is ~216 points, time is a few seconds. On real curves (256 bits) this would be 2128 steps — that is why they are secure.

p = 3184984651
a = 2188334749
b = 259655667
G = (1088842421, 612483763)
Q = (2337050807, 2949717214)

Find k. Use the Hasse bound as the search interval for k: k < p + 2√p + 1. Note: the order of G can be smaller than the group order, so there will be several matching k in this interval — enter the smallest positive k as the answer (if you run BSGS starting from i = 0, exactly this one will be found).

Answer: number only — in decimal format, without spaces and without additional characters (for example 1234).

Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −4 pts Log in
Hint 2 −9 pts Log in
Hint 3 −13 pts Log in
To submit a flag, log in.

First solvers

1. W.o.X 17.09.2026
2. Лазиз 04.10.2026
3. testrejim 09.10.2026
4. Mirjaxon Qaxxarov 27.10.2026
5. Odam 05.11.2026
6. arcanum 11.11.2026
7. Jasmin Xuseinova 15.11.2026