def aes_cipher_from_key(key):
 return AES.new(key, AES.MODE_CBC, generate_aes_iv(key))

def aes_cipher_from_key ( key ) : return AES . new ( key , AES . MODE_CBC , generate_aes_iv ( key ) )
given an aes key .