I am interested in taking in a single character,
c = 'c' # for example
hex_val_string = char_to_hex_string(c)
print hex_val_string
output:
63
What is the simplest way of going about this? Any predefined string library stuff?
Possible Duplicate:
bitwise XOR of hex numbers in python
I am trying to XOR two hex strings in Python and did not really know where to start from.
I have two hex strings:
a = "32510ba9a7b2bba9b8005d43…