upgraded to 32-bit AES encryption from simple XOR