A look at binary operations AND, OR, NOT and the grand finale, XOR!!
XOR stands for Exclusive OR. It is a logical operator that outputs true (1) if either of the inputs are true, but not both. XOR can be used to compare two bits and returns a value depending on whether they are equal or different. For example, 0 XOR 0 = 0; 1 XOR 1 = 0; and 1 XOR 0 = 1. This makes it useful in cryptography since it allows you to encrypt data by combining two pieces of information together in such a way that only someone with the same key can decrypt them again.
(eXclusive OR) A Boolean logic operation that is widely used in cryptography as well as in generating parity bits for error checking and fault tolerance.