摘要:
AES加密,用的是第三方模块 pycryptodome 安装:pip install pycryptodome -i https://pypi.douban.com/simple ECB模式加密: from Crypto.Cipher import AESimport base64password 阅读全文
posted @ 2020-01-09 14:11
天子骄龙
阅读(2862)
评论(0)
推荐(0)
摘要:
安装:pip install cryptography -i https://pypi.douban.com/simple from cryptography.fernet import Fernet cipher_key = Fernet.generate_key() #返回一个随机秘钥,每次是不 阅读全文
posted @ 2020-01-09 05:46
天子骄龙
阅读(1139)
评论(0)
推荐(0)

浙公网安备 33010602011771号