Elliptic curve: which point is false?
An elliptic curve over the field Fp is written in the short Weierstrass form:E: y² = x³ + a·x + b (mod p). The points of the curve and the special «point at infinity» O together form a group: points can be added, and O acts as zero.
For a point (x, y) to belong to the curve, the equation must hold exactly mod p, i.e. (y² - x³ - a·x - b) mod p = 0. This is the very first check when working with ECC: if someone sends you a «point» that does not lie on the curve, all subsequent calculations will be broken (invalid curve attack).
Curve parameters:
p = 9739
a = 497
b = 1768
Of the six points below, exactly one does not lie on the curve:
| Point | x | y |
|---|---|---|
P | 798 | 5189 |
Q | 4561 | 442 |
R | 4799 | 9412 |
S | 7725 | 1097 |
T | 7688 | 4257 |
U | 2730 | 6895 |
Enter the x coordinate of that fake point as the answer.
Answer: only the number — in decimal format, without spaces and without additional characters (e.g. 1234).