摘要:
Coinc1dens's lessons for cryptography beginner 10分题懒得写,赛后浅写一下(有些还真写不出来)太屑了 古典懒得写,相信都写的出来 1.child exgcd i 即为m在模p情况下的乘法逆元,反着求i在模p下的乘法逆元即可。 2.child_quadr 阅读全文
摘要:
HZNUCTF2023 预赛 easyDSA def solve_k(l): for i in range(512): if (l + 1 + i - 448) % 512 == 0: return i def padding(msg): l = len(msg) k = solve_k(l) l6 阅读全文