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