XOR encryption is a very simple encryption algorithm
Exclusive-OR operation is reversible.
That is: If a ^ b = c, there b ^ c = a (a, b, c each represent 0 or 1)
XOR operation using the previous rules, we will analyze one of them:
1 XOR 0 = 1 Ze 0 XOR 1 = 1
Principle: The XOR operation rules, the same is 0, 1 is different;
Original link: https: //www.cnblogs.com/albertblues/p/5670528.html