___________________________________________________________________________________________________________________________
General
Banks are really cool, u can save game or save statistics. But the file is saved in you local folder:
C:Users[user name]DocumentsStarCraft IIAccounts/[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.
Detail
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. :D
Code
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))
About Project
Created: October 3rd 2023
Updated: October 3rd 2023
Project ID: 79606
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
October 3rd 2023
__________________________________________
Recent File
October 3rd 2023
__________________________________________
Members
__________________________________________
Report