RSA算法求明文
摘要:
#注:gmpy2 的安装请参考 http://www.cnblogs.com/gwind/p/8000570.html# -*- coding: utf-8 -*- import gmpy2 print "素数p:" p = input () print "素数q:" q = input () n = p*q print "公钥e:" e = input () print "密文c:"... 阅读全文
posted @ 2017-12-07 18:58 gwind 阅读(1222) 评论(0) 推荐(0) 编辑