摘要: 下载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 阅读全文
posted @ 2014-01-20 15:21 土豆饼 阅读(682) 评论(0) 推荐(0) 编辑