Fork me on GitHub
摘要: #!/usr/bin/env python # visit http://tool.lu/pyc/ for more information import base64 def encode1(ans): s = '' for i in ans: x = ord(i) ^ 36 x = x + 25 阅读全文
posted @ 2020-10-24 22:50 暗里有光 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 题目:在一次RSA密钥对生成中,假设p=473398607161,q=4511491,e=17求解出d RSA的计算过程是: 任选两个大质数p和q,p!=q,计算N=pq 计算N的欧拉函数r(n)=(p-1)(q-1) 任选一个e满足 1<e<r(n) ,且e与r(n)互质 找到d,使e*d/r(n 阅读全文
posted @ 2020-10-24 15:37 暗里有光 阅读(714) 评论(0) 推荐(0) 编辑
1