I'm trying to figure out how take the XOR of every byte in my string:
string = "\xa3\xb4\x55"
with 100000 (binary). How would I do this in python? I've tried doing this:
newString = ""
for n in string:
new = n ^ 0x20
newString.append(new)
I need the output of newString to look like
output = "\x83\x94\x75"
but i'm currently not getting that :-( any help would be appreciated! Thank you!