You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The challenge calculated `ctext = [65537]flag` over a hyperelliptic curve.
2
+
To recover the flag we need to multiply by the inverse of 65537 modulo the group's order.
3
+
4
+
The order can be calculated using Magma:
5
+
6
+
K := FiniteField(2^256);
7
+
P := PolynomialRing(K);
8
+
w := P.1;
9
+
f := w^5 + w^3 + 1;
10
+
h := w^2 + w;
11
+
H := HyperellipticCurve(f, h);
12
+
print #Jacobian(H);
13
+
14
+
Now we decrypt the flag (in Sagemath):
15
+
16
+
order = 13407807929942597099574024998205846127384782207827457971403006387925941306569427075743805985793764139096494648696821820448189053384542053304334065342873600
0 commit comments