Skip to content

Instantly share code, notes, and snippets.

@Hwatwasthat
Created February 21, 2018 16:02
Show Gist options
  • Save Hwatwasthat/66b78eb7d8d3e7c16a5f2db2bfc2958d to your computer and use it in GitHub Desktop.
Save Hwatwasthat/66b78eb7d8d3e7c16a5f2db2bfc2958d to your computer and use it in GitHub Desktop.
XOR two hex values created by Hwatwasthat - https://repl.it/@Hwatwasthat/XOR-two-hex-values
# Values entered must be hex encoded, preface with 0x if not already
def hex_xor(first, second):
result = (first ^ second)
return result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment