xor

fun xor(val: BigInteger): BigInteger

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.)

Return

this ^ val

Parameters

val

value to be XOR'ed with this BigInteger.