What is a simple and effective way to encrypt a plain text file? I’m not looking for safety, I just want the average user not to be able to tamper with it. Say I have a file with newline separated email addresses. I want it to look like a garbled mess when opened, but easy to decrypt.
Share
The simplest practical form is an XOR cipher. Basically you generate an encryption/decryption key of random numbers, of any length. To encrypt or decrypt your data, XOR the data with the key.
It is not very secure; it’s mostly just used to do a light obfuscation.