Crypto Wiki
Advertisement

XOR is operator logic wich means "eXclusive OR". This operator is very used in cryptography, and is highly used in symmetrical cryptography.

Its table of truth for a binary mode is :

a b a XOR b
0 0 0
0 1 1
1 1 0
1 0 1

[]

Some operating proprieties[]

a XOR b = c => c XOR b = a

a XOR b = b XOR a

a XOR b = NOT ( a <=> b ) = NOT ( a => b AND b => a) = NOT( (NOT a AND b) AND (NOT b AND a) )

= (a OR b) AND (NOT a OR NOT b)

Advertisement