Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

pycryptodome aes 256 cbc

>>> 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)
Source by pycryptodome.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #pycryptodome #aes #cbc
ADD COMMENT
Topic
Name
3+6 =