python3 安装Cryptodome AES
pip install pycryptodome安装时使用pycryptodome 而不是Cryptodomefrom Cryptodome.Cipher import AES使用:def add_to_16(text): if len(text.encode('utf-8'))%16: add=16 - (len(text.encode('utf-8'))%16) else: add=0 text=''.join((text,('\0'*a