Added functions to encrypt entries to file and decrypt from it