txt encryption and decryption