Favourite byte
Description
Some of my Favourite Things
from pwn import xor
HEX = "73626960647f6b206821204f21254f7d694f7624662065622127234f726927756d"
byteString = bytes.fromhex(HEX)
print(byteString)
# 2 ^ 8 = 256
# A byte can represent numbers up to 256
for i in range(256):
# Get a byte and XOR with the byte string
xorString = xor(byteString, i)
print(xorString)
Flag
Last updated