📜  pycryptodome aes 256 cbc - 汇编代码示例

📅  最后修改于: 2022-03-11 14:48:10.198000             🧑  作者: Mango

代码示例1
>>> from Crypto.Cipher import AES
>>>
>>> key = b'Sixteen byte key'
>>> cipher = AES.new(key, AES.MODE_EAX)
>>>
>>> nonce = cipher.nonce
>>> ciphertext, tag = cipher.encrypt_and_digest(data)