Encryption/Decryption in AddEntry

Encoding issues?