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.

8 lines
446 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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是攻击段代码。