14 lines
573 B
Python
14 lines
573 B
Python
from Crypto.Util.number import *
|
|
|
|
# while True:
|
|
# x = 2 * getPrime(63)
|
|
# y = 2 * getPrime(1024 - 64 - 1)
|
|
# if isPrime(x + 13) and isPrime(y + 37):
|
|
# print(f'x = {x}')
|
|
# print(f'y = {y}')
|
|
# break
|
|
|
|
x = 11963762482016783098
|
|
y = 6533497529402055603646403092973137776146443537692607524362392132709879518444985038203228969704717741570837972352283511024609066666196224249075700651781381718135200089722249648104171275658471066248300072773775896536019470067922066326056012448278885442521552695200564882311694290367135046346
|
|
|
|
flag = b'CCTF{Modern_Crypto_Ne3d_S1mPl3_M4th!!}' |