File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 66
77### 核心原理
88
9+ 高级加密标准(Advanced Encryption Standard,AES),是美国联邦政府采用的一种区块加密标准。这个标准用来替代原先的DES,已然成为对称密钥加密中最流行的算法之一。
10+
11+ AES只是个基本算法,实现AES有若干模式。其中的CBC模式因为其安全性而被 TLS 和 IPSec 作为技术标准。
12+
13+ CBC模式对于每个待加密的密码块在加密前会先与前一个密码块的密文异或然后再用加密器加密。CBC模式相比ECB有更高的保密性,但由于对每个数据块的加密依赖与前一个数据块的加密所以加密无法并行。
14+
915### 三方模块
1016
1117PyCrypto 已死,请替换为 PyCryptodome
18+
1219```
1320pip install pycryptodome # 加密算法模块
1421```
1522
1623### 文件索引
1724
25+ - [ demo.py] [ 1 ] (AES-CBC加密示范 - Encryption module demo)
26+
1827### 参考博客
19- [ 【CSDN melody_sy 博客】python3.6 实现AES加密] [ 1 ]
28+ [ 【CSDN melody_sy】python3.6 实现AES加密] [ 2 ]
29+ [ 【CSDN charleslei】高级加密标准AES的工作模式] [ 3 ]
2030
2131
22- [ 1 ] : https://blog.csdn.net/s740556472/article/details/78778522
32+ [ 1 ] : https://github.com/scriptgeeker/python-demo/blob/master/FileEncrypt/demo.py
33+ [ 2 ] : https://blog.csdn.net/s740556472/article/details/78778522
34+ [ 3 ] : https://blog.csdn.net/charleslei/article/details/48710293
You can’t perform that action at this time.
0 commit comments