ctf-writeups

easy_rsa 100 points

题意

Decrypt this cipher with RSA!

n = 1606938044411740147595993131987762585049124570740766496467497

e = 0x10001

cipher = 401533489858983095606309339787817217779019525090976475619112

解题步骤

n 很小,直接用 3summer/CTF-RSA-tool 即可。

编写 rsa.txt

n = 1606938044411740147595993131987762585049124570740766496467497
e = 65537
c = 401533489858983095606309339787817217779019525090976475619112

然后进行破解:

$ python2 solve.py -i rsa.txt
INFO: THUCTF{n_is_too_small!!!}