Skip to content

bitwiseXor

bitwiseXor(binary1, binary2) → binary · Binary

Perform bitwise XOR on two binary values.

  • binary1 (required): first operand

  • binary2 (required): second operand (same length)

utlx
{
  xored: toHex(bitwiseXor(fromHex("AAFF"), fromHex("55FF")))
}
// Output: {"xored": "ff00"}

Released under AGPL-3.0.