Salade de fruits - FCSC2024
2025-08-12 | #Crypto #CTF #FCSC2024
Problem statement
Curve isomorphism
This is a classic problem of cubic equation, it turns out that every cubic equation (that is not degenerate) is isomorphic to an elliptic curve, Sagemath has a conveniant function for that, so let’s quickly look at the isomorphism (and its inverse function) :
P = QQ["p, s, b"]
p, s, b = P.gens()
eq = p ** 3 - 94 * b ** 3 + s ** 3
f = EllipticCurve_from_cubic(eq)
print(f)
fi = f.inverse()
print(fi)
we get :