ICode9

精准搜索请尝试: 精确搜索
  • [NepCTF2022]中学数学2022-07-20 21:02:32

    中学数学 p、q挣扎很久没分解出来,wp出来了赶紧复现试试。 题目 from gmpy2 import * from Crypto.Util.number import * from secret import flag p=getPrime(1024) q=next_prime(p+(p>>500)) #p>>500=(1/2^500)p e=0x10001 #65537 n=p*q c=pow(bytes_to_long(flag),e,n

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有