XORing two char arrays in C++
<p>I have two char arrays:</p>

<pre><code>unsigned char a[8];
</code></pre>

<p>and</p>

<pre><code>unsigned char b[8];
</code></pre>

<p>How can I do the XOR-operation:</p>

<pre><code>p[i]=a[i]^b[i] 
</code></pre>

<p>Thanks for the answers.</p>
