Basic cross platform AES encryption