Is there any way to encrypt a save?

Get help using Construct 2

Post » Sat Jan 14, 2017 1:40 am

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?
B
11
S
5
Posts: 6
Reputation: 930

Post » Sat Jan 14, 2017 5:42 pm

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.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Sat Jan 14, 2017 8:08 pm

Exactly what I was looking for, thank you so much!
B
11
S
5
Posts: 6
Reputation: 930


Return to How do I....?

Who is online

Users browsing this forum: Zav and 3 guests