You can do this with two bit strings using only three XOR's. For instance, take the strings a=0010, b=1011.

a = a XOR b = 1001
b = a XOR b = 0010
a = a XOR b = 1011