How do I save/load to slot with encrytion/decryption?

Get help using Construct 2

Post » Fri May 15, 2015 1:35 pm

Hi :)

I really love the feature "save/load game", but i really miss a encryption/decryption method. I would encrypt/decrypt the data on my own, but i don't really know where to "hook in"...

There are saveToJSON and loadToJSON methods in the plugins, but i don't really know if this is "the place to be" :D

Can somebody help me? I would like to encrypt the whole data-string and not every single variable on its own.

Thanks in advantage :)
B
4
Posts: 8
Reputation: 212

Post » Fri May 15, 2015 6:06 pm

https://code.google.com/p/crypto-js/ ?

The problem with doing this on the client side though is that you 'secret' passphrase is neither secret not secure.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 23 guests