win7 + python3.6 +pycrypto 2.6.1 cp36 cp36m win_amd64.whl 安装

 win7(64位)+ python3.6 + pycrypto-2.6.1-cp36-cp36m-win_amd64.whl
cp pycrypto-2.6.1-cp36-cp36m-win_amd64.whl C:\Python36\Scripts
pip install pycrypto-2.6.1-cp36-cp36m-win_amd64.whl

验证:
>>> from Crypto.Cipher import AES
>>> obj=AES.new('This is a key123',AES.MODE_CBC,'This is an IV456')
>>> message="The answer is no"
>>> ciphertext=obj.encrypt(message)
>>> ciphertext
b'\xd6\x83\x8dd!VT\x92\xaa`A\x05\xe0\x9b\x8b\xf1'

提取码: 3hcv
https://pan.baidu.com/s/1Pn5qEhqAY7dyUXF9uZOnqw

上一篇:python3 安装pyhanlp遇到问题及解决方法


下一篇:03—pycharm导入包报错问题