Skip to content

Instantly share code, notes, and snippets.

View poolsar42's full-sized avatar

poolsar42 poolsar42

View GitHub Profile
@mcieno
mcieno / MOV.sage
Last active July 22, 2024 11:06
MOV attack on elliptic curves.
# Setup curve
p = 17
a, b = 1, -1
E = EllipticCurve(GF(p), [a, b])
G = E.gen(0)
# Target secret key
d = 8