Java XOR library