cryptokit更轻松的在python中实现加密解密

安装

pip install cryptokit

AES 使用

from cryptokit import AESCrypto

message = "hello cryptokit"

crypto = AESCrypto('WDMG1e38igW53YuxkE0SsKUDeLbULAtL', 'm2VYHdx41zRgvg6f')

data = crypto.encrypt(message, mode='cbc&#......

2018-01-15
197