string A = "P@ssw0rd"; string B = 0xffa1; C = A XOR B
A XOR B == C C XOR B == A
XOR
(a xor b) xor b = a
Quote:but in decoding what operator i have to use to get A from C and B????
C=A xor B
A=C xor B
B=A xor C
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)