Right now I'm using JSON to create a file with save data in it, however all the data is in plain text. Wondering if there is a method of encrypt the file to prevent save editing?
Develop games in your browser. Powerful, performant & highly capable.
I recommend rexrainbow 's XOR encryption.
You encrypt and decrypt with a password.
In your case, you could choose anything, just make sure to minify the script, so no-one can read the password from your sourcefiles.
Exactly what I was looking for, thank you so much!