Hi, I have 2 hexa arrays of 8 bytes and need to do an xor of them, something like this:
unsigned char xorBufferTemp[8];
unsigned char bufferHexas1[8];
unsigned char bufferHexas2[8];
I'd like to make something like that ...
for (i=0; i<8> i++) {
xorBufferTemp[i] = bufferHexas1[i] ^ bufferHexas2[i];
}
But obviously it doesn't compile because the ^ work only with ones and ceros.
Any ideas would be great appreciated.
Thanks, Juan.