aes encryption kind of working