XOR Hex and ASCII

24 Views Asked by At

I have a 16 bit key (e.g., abcd) that represents hex values, and a 16 bit input (e.g., 0123) that I read in and stored in a character array. How would I XOR these together in C? I'm pretty stuck on this and don't really know where to start. I have to use C, and the key and input are read in from text files.

0

There are 0 best solutions below