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