Home
Writeups Misc About
Elliptic Nodes

Elliptic Nodes

a and b is not given, but since we are given the two points, generator G and the public key point P, we can construct two equations in the form of y2=x3+ax+b. Solving the two linear congruent equation should give us a,b.

Trying to do E = EllipticCurve(GF(p), [a, b]) lead to an error by Sage that the curve defined is not a elliptic curve, rather a singular curve. A singular curve makes it very easy to solve DLP, as there exist a mapping to this curve to either a additive or multiplicative group.

We follow this tutorial on Crypto StackExchange. There are multiple ways to find the singular point, one such method is to find roots of the equation 3x2+a under modulo p, which should be easy to do.

The writeup by aloof after solving the challenge should provide a much better view into how singular curves work, and the math behind it.

Sage Implementation: