StarCraft 2 KyrptLib 2022 download
logo
starcraft 2 mod KyrptLib

KyrptLib

Game Version: -
Total Downloads: 1,230
Updated: Jan 13, 2011
Created: Jan 8, 2011

Earlier Versions

Name Size Uploaded Game Version Downloads
KyrptLib V1.02 release 106.23 KB Jan 13, 2011 - 551 download KyrptLib KyrptLib V1.02 releaseDownload
KyrptLib V1.01 testmap release 49.31 KB Jan 8, 2011 - 375 download KyrptLib KyrptLib V1.01 testmap releaseDownload
KyrptLib V1.01 release 96.57 KB Jan 8, 2011 - 304 download KyrptLib KyrptLib V1.01 releaseDownload

Description

Share this:

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]\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.

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. 😀

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))

Download

  • http://www.sc2mapster.com/maps/kyrptlib/files/2-kyrpt-lib-v1-01-testmap/
  • http://www.sc2mapster.com/maps/kyrptlib/files/1-kyrpt-lib-v1-01/

Comments

Add a comment