Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def decodeScrapeshieldEmail(s):
retval = ""
key = int(s[:2], 16)
for char in [int(s[i:i+2], 16) for i in range(2, len(s), 2)]:
retval += chr(char ^ key)
return retval
#return "".join([chr(c^int(s[:2],2))for c in [int(s[i:i+2],16)for i in range(2,len(s),2))]])

This comment has been minimized.

Copy link
Owner Author

@nullableVoidPtr nullableVoidPtr commented Nov 18, 2017

reverse-engineered from the original javascript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.