今天比较闲,更新几题。
5.rsarsa
题目:Math is cool! Use the RSA algorithm to decode the secret message, c, p, q, and e are parameters for the RSA algorithm.
http://ctf5.shiyanbar.com/crypto/rsarsa/rsa.txt
又到了英文翻译时间。题目提到了RSA算法,打开文本看
这里引用gwind大神的博文:https://www.cnblogs.com/gwind/p/8013116.html,里面详细介绍了RSA加密的原理。通俗说就是给你p,q,e,c然后用特定的运算规则算出d。题目的难点在于给的数字都很大,口算什么的肯定是不科学的。我试了手头上的几个RSA加密工具,无一例外都提示数字过大。最后我们还是得使用万能的python,
记得指定好p,q,c都是L,然后调用gmpy2的函数计算一下就出结果了。
6.robomunication