Questions about this topic? Sign up to ask in the talk tab.

Bitwise math/Operators/XOR/rules

From NetSec

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
back to Bitwise math


XOR determines which bits differ in the two binary numbers used as operands.
  • 1 xor 1 = 0
  • 1 xor 0 = 1
  • 0 xor 0 = 0