一、原理见文章https://www.cnblogs.com/luop/p/4334160.html二、python实现以下文章从参数类型、加密模式、编码模式、补全模式、等等方面 系统的说明如何使用AES加密解密。https://www.cnblogs.com/Hellowshuo/p/15706590.html代码如下:from Crypto.Cipher import AES import base64 import binascii # 数据类 class MData(): def __init__(self, data = b"",characterSet='utf-8'): # data肯定为bytes self.data = data self.characterSet = characterSet def saveData(self,FileName): with open(FileName,'wb') as f: f.write(self.
Norman1z