Is it possible to perform XOR operation on 4bytes at a time
<p>i need to perform XOR operation on 4 bytes which are represented as a single byte</p>

<pre><code>b[0]=97;
b[1]=98;
b[2]=99;
b[3]=100;
int temp=0;
int temp1=0;
int temp2=0;
int temp3=0;
int temp4=0;
temp1=temp1|b[0];
temp1=temp1&lt;&lt;24;
temp2=temp2|b[1];
temp2=temp2&lt;&lt;16;
temp3=temp3|b[2];
temp3=temp3&lt;&lt;8;
temp4=temp4|b[3];
temp=temp4|temp3|temp2|temp1;
</code></pre>

<p>i have used the above code to convert the four bytes into a single integer. Now how can i represent this integer in a byte</p>
