摘要:
下载pycryto,点击这里#!/usr/bin/python#encoding:utf-8"""示例代码"""from Crypto.Cipher import AESkey = '0123456789abcdef'mode = AES.MODE_CBCiv=keyencryptor = AES.new(key, mode,iv)text = 'j' * 64 + 'i' * 128ciphertext = encryptor.encrypt(text)print ciphertext 阅读全文