可以使用破解脚本:求出d的值,文件下载地址GitHub - pablocelayes/rsa-wiener-attack: A Python implementation of the Wiener attack on RSA public-key encryption scheme. (注意,这里要将破解脚本和rsa-wiener-attack的py文件放在同一个目录下) 脚本如下: nix importbinasciiimportRSAwienerHackere=n=c=d= RSAw...
The source code: highlighter- 1c import sympyfrom gmpy2 import gcd, invertfrom random import randintfrom Crypto.Util.number import getPrime, isPrime, getRandomNBitInteger, bytes_to_long, long_to_bytesimport base64from zlib import *flag = b"MRCTF{XXXX}"base =65537def gen_prime(N):A =0wh...
The source code: highlighter- 1c import sympyfrom gmpy2 import gcd, invertfrom random import randintfrom Crypto.Util.number import getPrime, isPrime, getRandomNBitInteger, bytes_to_long, long_to_bytesimport base64from zlib import *flag = b"MRCTF{XXXX}"base =65537def gen_prime(N):A =0wh...