http://www.perlmonks.org?node_id=959089


in reply to Hex String XOR

$a = 0xaabbcc; $b = 0x112233; printf '%X', $a ^ $b;