152k views
1 vote
Abram was asked to explain to one of his coworkers the XOR cipher. He showed his coworker an example of adding two bits, 1 and 1. What is the result of this sum?

1 Answer

4 votes

XOR is 1 when either of the inputs is 1 but not when they both are.

1 xor 1 = 0

User Aung Si Min Htet
by
3.5k points