Skip to main content
Challenges Point doubling (tangent rule)
Cryptography Easy Group operations Solves: 8

Point doubling (tangent rule)

Author: CyberSamSU
Points
15

If the two points being added are the same (P + P), a straight line cannot be drawn through them — a tangent is taken instead. The formula is almost the same, only lambda is calculated differently:

lambda = (3*x1^2 + a) * (2*y1)^(-1)  mod p
x3 = lambda^2 - 2*x1                 mod p
y3 = lambda*(x1 - x3) - y1           mod p

Doubling is the most frequently used operation in ECC: by sequentially obtaining 2P, 4P, 8P, ..., any k·P can be calculated very fast (you will see this in the next challenge).

Curve parameters:

p = 9739
a = 497
b = 1768
P = (5907, 9281)

Find the point 4P. That is, first 2P = P + P, then 4P = 2P + 2P.

Answer: the coordinates of the point in the format x,y — first x, then a comma, then y (e.g. 1234,5678).

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

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 06.11.2026
4. Doston Allayarov 12.11.2026
5. Jasmin Xuseinova 15.11.2026
6. Aminova 18.11.2026
7. hacker_777 19.11.2026
8. milanchka_26 19.11.2026