![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
密码学
文章平均质量分 90
-k0414-
这个作者很懒,什么都没留下…
展开
-
现代密码学大作业
1. Programming Assignment AESIn this assignment, you must decrypt a challenge ciphertext generated using AES in CBC-mode with PKCS #5 padding. (Note: technically this is PKCS #7 padding, since the block size of AES is 16 bytes. But the padding is done in原创 2022-01-08 17:28:50 · 1308 阅读 · 0 评论 -
2020DASCTF七月赛-bulls**t
题目:def pairing(a,b): shell = max(a, b) step = min(a, b) if step == b: flag = 0 else: flag = 1 return shell ** 2 + step * 2 + flagdef encrypt(message): res = '' for i in range(0,len(message),2): res +=原创 2020-07-25 18:26:45 · 1747 阅读 · 0 评论