Page 1 of 1

Java/Python tool for StringHash decoding

Posted: June 6th, 2022, 2:21 pm
by quang.billy.79
Hi, does anyone have the Java/Python tool for StringHash decoding (jass)? I read a comment on this topic viewtopic.php?p=205601#p205601, a guy said:
owner123 wrote:
It's never impossible to brute-force a StringHash because JASS ints are only 32 bits and SStrHash2 algorithm is high collision anyways. Infact breaking a string hash is incredibly easy, compared to many other hashes. I made a Java tool that brute forces it, and a member here created a python script that can solve a hash in nearly constant time.

Do you know JASS? The ability to read and understand JASS is important (but maybe not strictly required) for this.
I inboxed this guy but no reply yet. Does anyone here have this tool on their computer, please share it with me. I searched on this forum for the Python/java code but had no luck.

Actually, when I searched on Google I got this code on Github (https://github.com/zach-cloud/JStringHash), but when I run it didn't work properly.

The stringhash I want to brute force is

Code: Select all

if StringHash(Jjx)==1583906356
. When I run the code on Github it showed '!eeq..' or sth like that.

Re: Java/Python tool for StringHash decoding

Posted: June 7th, 2022, 2:47 pm
by 1vann
http://forum.wc3edit.net/deprotection-cheating-f64/hidden-activators-t37032-10.html#p204814