I'm attempting to generate an AES key with Pycrypto but receive the following error:
TypeError: 'list' does not support the buffer interface
for the following statement:
aescipher = AES.new(mykey, AES.MODE_ECB)
mykey
, is of type list
and contains [1885434739, 825373440, 0, 0]
Does anyone know how I can convert mykey
into the correct type for the AES.new
function?