Fixed problem with AES byte arrays