Pass AES key as unsigned char* to be consistent