1 pip3 install pycryptodome 2 快速方式:pip3 install -i https://pypi.douban.com/simple pycryptodome 3 PyCrypto 已死,請替換爲 PyCryptodome 4 5 須要在python目錄裏面把Python36\Lib\site-packages下的crypto文件更名,沒錯,就是直接改爲Crypto。結果就能用了...
from Crypto.PublicKey import RSA from Crypto.Signature import PKCS1_v1_5 from Crypto.Hash import SHA256