from Crypto.Cipher import Blowfish import binascii string = b'plain text' key = 'a key' c1 = Blowfish.new(key, Blowfish.MODE_ECB) print c1.decrypt(binascii.unhexlify(s)) #the plain text
原文地址:Python解码Blowfish, 感谢原作者分享。 人生就是要感受美丽的、善良的,丑恶的、病态的。