You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
369 B
10 lines
369 B
# WOW ok i made this initially like 80 times more complicated than I need to.
|
|
|
|
def fixedXor(arg1, arg2):
|
|
input1 = int(arg1, 16)
|
|
input2 = int(arg2, 16)
|
|
|
|
hexData = (hex(input1 ^ input2))
|
|
return hexData[2:] # this is done to remove leading 0x.
|
|
|
|
print(fixedXor("1c0111001f010100061a024b53535009181c", "686974207468652062756c6c277320657965")) |