You can use the xor operation on bytes. It's the caret (^). Example: byte3[0] = byte1[0] ^ byte2[0]; ...
www.google.com.tw