Encrypt/Decrypt working right