___________________________________________________________________________________________________________________________
This is an library to use hash functions with triggers in Starcraft 2 Maps. I hope you need it for some reason and that you like it. ;P If you want to use this library, I don't want to force you to put my credits in your map, I'm only asking for it.
If you don't know what hash functions are, you might want to find out:
Note: This mod has been discontinued since hash codes are already automatically included in bank files.
To generate a hash code, you need to have some input to digest. In this library that's called the 'hash input'. You fill the hash input and then generate a hash code from that. There are some actions to fill the hash input. The first action we need to use it the "Initialize Hash Input" function. With this function, you start of with a clean hash input. Do this every time you want create a new hash input, like when you want to generate a different hash code. Remember, the hash input should not be used anymore when you already generated a hash code with it, just initialize it again.
Then, to add data, there are different actions available. The following types of data are supported:
Once you have filled the hash input like you want, you can use the function to generate the hash code. There are different functions for different hash functions, and they return a string containing the hexadecimal representation of the hash code. The following hash algorithms are supported by this lib:
So to generate a SHA-256 hash code from the string "abc", you use the following actions/script:
Actions in Grammar Text
Script
string hashCode; InitializeHashInput(); AddStringToHashInput("abc"); hashCode = GenerateSHA256HashCode();
About Project
Created: September 28th 2023
Updated: September 28th 2023
Project ID: 37810
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
September 28th 2023
__________________________________________
Recent File
September 28th 2023
__________________________________________
Members
__________________________________________
Report