common_private_exponent_attack

XCTF-SCTF 2020 | RSA

RSA Common Private Exponent Attack Lattice Based Attack on Common Private Exponent RSA from Crypto.Util.number import * from random import randint flag = int('SCTF{*******************}'.encode('hex'), 16) d = getPrime(randint(380, 385)) fo…