python3.5和python3.6 下DES解密
python3.5下
使用Crypto就行,安裝方式:
pip install pycrypto
python調用如下:
from Crypto.Cipher import DES
python3.6下
由於Crypto庫在windows10環境中對python3.6的支持有限,故採用Crypto的擴展庫Cryptodome
linux下安裝:
pip install pycryptodome
windows10下安裝:
pip install pycryptodomex
python調用方式如下;
from Cryptodome.Cipher import DES