Certified Ethical Hacker (CEH v10) — Question 148
A common cryptographical tool is the use of XOR. XOR the following binary values: 10110001 00111010
Answer options
- A. 10011101
- B. 10001011
- C. 10111100
- D. 11011000
Correct answer: B
Explanation
The correct answer is B (10001011) because XOR outputs true (1) when the inputs differ. By applying XOR to each corresponding bit of the two binary values, we find that only when both bits are the same, the output is 0; otherwise, it's 1. The other options do not match the correct XOR result.