XOR is a boolean operator that outputs true whenever the operands given are not equal.
a | b | a XOR b |
---|---|---|
T | T | F |
T | F | T |
F | T | T |
F | F | F |
XOR has some interesting properties that are useful for cryptography:
XOR is a boolean operator that outputs true whenever the operands given are not equal.
a | b | a XOR b |
---|---|---|
T | T | F |
T | F | T |
F | T | T |
F | F | F |
XOR has some interesting properties that are useful for cryptography: