I am writing a program for padding oracle attacks and need bytearrays
,
but if I define a new bytearray
the first byte 0x63
gets printed different.
I have to XOR
2 bytearrays
bytewise.
test = bytearray( [99,203,00] )
print(test)
print(hex(99))
Output:
bytearray(b'c\xcb\x00')
0x63
This is my first question here. Thanks for your help!