Does exist any code about decryption using Python 3?
I had a lot of issues using M2Crypto (not compatible with python 3), and a can't reproduce the same using Crypto.
This is the line that I need to change:
cipher = EVP.Cipher('aes_256_cbc', hash(key), iv, 0)
unencrypted = cipher.update(data)
return unencrypted + cipher.final()
What others functions can I use instead EVP?