官方文档:https://www.pycryptodome.org/en/latest/
pycrypto加解密库官方已经不维护了。
官网:https://github.com/pycrypto/pycrypto
PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities.
See https://www.pycrypto.org/ for details. The following is provided for historical/reference purposes only.
pycryptodome pycrypto 这两个库是同一个库,但是 pycrypto 已经不维护了
官方文档:https://www.pycryptodome.org/en/latest/
github:https://github.com/Legrandin/pycryptodome
PyCryptodome是python一个强大的加密算法库,可以实现常见的单向加密、对称加密、非对称加密和流加密算法。
./pip3 uninstall crypto
./pip3 uninstall pycrypto
./pip3 install pycryptodome
官方example
https://www.pycryptodome.org/en/latest/src/examples.html
加密算法简述 以及 pycryptodome模块的使用
参考URL: https://blog.csdn.net/weixin_44797433/article/details/103849182