![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 59
小虎牙^O^
一位爱吃棒棒糖的小屁孩学编程。
展开
-
密码学-RSA基础题解题脚本-Python
ngroup = list(map(int, input('请输入n组(空格隔开):').split()))cgroup = list(map(int, input('请输入c组(空格隔开):').split()))ngroup = list(map(int, input('请输入n组(空格隔开):').split()))cgroup = list(map(int, input('请输入c组(空格隔开):').split()))pa1mqa1 = int(input('请输入(p+1)*(q+1):'))原创 2024-07-10 22:28:30 · 277 阅读 · 0 评论 -
RSA已知n、e、密文c,求明文。
from Crypto.Util.number import *flag = b''m = bytes_to_long(flag)p = getPrime(128)q = getPrime(128)phi = (p - 1) * (q - 1)n = p * qe = 65537c = pow(m, e, n)print(f"n: {n}")print(f"e: {e}")print(f"c: {c}")'''n: 822623022556735468960689435714450890原创 2024-06-08 23:06:52 · 605 阅读 · 0 评论 -
python绘画皮卡丘
【代码】python绘画皮卡丘。原创 2024-04-30 19:00:09 · 290 阅读 · 0 评论