Quantcast
Channel: Questions in topic: "saves"
Viewing all articles
Browse latest Browse all 14

Encrypting save files logic question

$
0
0
I'd like to encrypt save game files, but haven't yet worked out a good way to go about it. If I generate a key for my crypto, where would I store this so that it is relatively safe? I realize there's no full proof method. ------------- Current thoughts: ----- a) Just hardcode a key into the program - perhaps obfuscate it in the code b) Dual layer: Use an MD5 hash hard coded, generate a key from Rijndael crypto on first game run for instance, hash that key store it in say the registry on a Windows OS..Perhaps generate a fake key file to throw off would be hacks. c) Force all saves over the net (haha.. joking) d) Multi layer hashing.. using several algs. Tho I think any decompiling of my code would make this extra effort worthless. ------ This is probably not of the utmost importance for this game.. Though, I was considering allowing players to cheat by purchasing cheat equipment.. Most gamers, self included, hate cheating, but if ure an adult say and limited on time but still want the satisfaction of winning and willing to pay for it, thought I might include it as an option.. Anyway, this is more for learning than anything, maybe you can help a few others at the same time. Thanks.

Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>