楕円曲線:逆数をかける

UIUCTF 2020 | nook crypt

EllipticCurve option 1では との結果を得ることができる。ただし時折 が壊れた値になるらしい option 2では 任意の平文 に対してを計算してもらえる まずは楕円曲線上の点を集めて楕円曲線のパラメータを当てるところからやる。 に対して 同様に この2式に…

ASIS CTF Quals 2019 | Halloween Party

#ASISCTFQuals2019 https://ctftime.org/task/8320 In the halloween party, we want to half a delicious but small cake! flag = ASIS{P.x} #!/usr/bin/env python from fastecdsa.curve import Curve from fastecdsa.point import Point from Crypto.Util…