You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pcfkh8sw5 e8babd9f8f
Update README.md
2 years ago
AES_CBC.py ADD file via upload 2 years ago
AES_CFB.py ADD file via upload 2 years ago
AES_CTR.py ADD file via upload 2 years ago
AES_ECB.py ADD file via upload 2 years ago
AES_OFB.py ADD file via upload 2 years ago
ECB_attrack.py ADD file via upload 2 years ago
ECB_attrack_server.py ADD file via upload 2 years ago
README.md Update README.md 2 years ago
decrypt.txt ADD file via upload 2 years ago
encrypt.txt ADD file via upload 2 years ago
gui.py ADD file via upload 2 years ago
padding_oracle_demo.py ADD file via upload 2 years ago

README.md

Security_analysis

将代码放到同一个文件夹里运行gui.py即可打开加解密界面与Padding Oracle界面。

gui.py通过导入ECB.py、CBC.py、CFB.py、OFB.py、CTR.py和padding_oracle_demo.py实现不同工作模式下的加解密功能与padding oracle功能。 单独执行上代码也可以实现单个模式的加解密只是没有ui界面

ECB_attrack_server.py为服务端代码ECB_attrack.py是攻击段代码。