Created
September 1, 2018 05:51
-
-
Save pinksawtooth/99e34560d210d7be5f74f7cbc30ad487 to your computer and use it in GitHub Desktop.
ror13AddUpperDllnameHash32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acc := 0 | |
dllhash := 0 | |
for i in dllname { | |
dllhash := ROR(acc, 13); | |
dllhash := dllhash + toupper(c); | |
} | |
for i in input_string { | |
acc := ROR(acc, 13); | |
acc := acc + toupper(c); | |
} | |
return acc + dllhash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment