|KyrptLib V1.02 release||106.23 KB||Jan 13, 2011||-||551||Download|
|KyrptLib V1.01 testmap release||49.31 KB||Jan 8, 2011||-||375||Download|
|KyrptLib V1.01 release||96.57 KB||Jan 8, 2011||-||304||Download|
Banks are really cool, u can save game or save statistics.
But the file is saved in you local folder:
C:\Users\[user name]\Documents\StarCraft II\Accounts/[random numbers]/Banks"
I want to secure this information and disallow player access this data,
because it is cheat, if u can edit your save games. right?
We can transform almost anything to string and back.
That is why, there are only functions for strings in my lib.
AES and Sha256 are encryption standard. I tried to implement them well.
the string+random salt will be encrypted together, so the same values looks different, every time u save it.
The Sha256 hash will be generated from string+salt.
and if someone change the value, we will know it, because we compare the Sha256 hash of the decrypted data to old hash.
The result is just 2 functions for encrypt and decrypt.
The Initialisation will be done automatically.
I like Feedback, pls do some comment. 😀
Variable - Set input = "Ich bin-gluecklich" //notice that password has 16 chars Variable - Set password = "ICH23EDe3d7890hg" Variable - Set output = (<KryptCode> EncryptString(input,password)) Variable - Set output = (<KryptCode> DecryptString(output,password))
Add a comment