Skip to content

Instantly share code, notes, and snippets.

@pinksawtooth
Created September 1, 2018 05:51
Show Gist options
  • Save pinksawtooth/99e34560d210d7be5f74f7cbc30ad487 to your computer and use it in GitHub Desktop.
Save pinksawtooth/99e34560d210d7be5f74f7cbc30ad487 to your computer and use it in GitHub Desktop.
ror13AddUpperDllnameHash32
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