Skip to content

Instantly share code, notes, and snippets.

@xorhex
Created September 22, 2019 00:38
Show Gist options
  • Save xorhex/bffde0e1b29589c4c8ea1cd65e23d892 to your computer and use it in GitHub Desktop.
Save xorhex/bffde0e1b29589c4c8ea1cd65e23d892 to your computer and use it in GitHub Desktop.
def hash(var_38, test_char):
return ((var_38 & 0xff) ^ (((((((ord(test_char) ^ 0x33) & 0xFF) + 0x44) & 0xFF) ^ 0x55) & 0xFF) - 0x66) & 0xFF) & 0xF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment