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
|
2 years ago | |
---|---|---|
AES_CBC.py | 2 years ago | |
AES_CFB.py | 2 years ago | |
AES_CTR.py | 2 years ago | |
AES_ECB.py | 2 years ago | |
AES_OFB.py | 2 years ago | |
ECB_attrack.py | 2 years ago | |
ECB_attrack_server.py | 2 years ago | |
README.md | 2 years ago | |
decrypt.txt | 2 years ago | |
encrypt.txt | 2 years ago | |
gui.py | 2 years ago | |
padding_oracle_demo.py | 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是攻击段代码。