public BigInteger xor (BigInteger val)

Returns a BigInteger whose value is (this ^ val). (This method returns a negative BigInteger if and only if exactly one of this and val are negative.)

Parameters:
val    value to be XOR'ed with this BigInteger.

Returns:  this ^ val