I give an input of say "aabbcc" and I want to XOR with "112233". The answer should be "bb99ff"
my $s='112233'; my $t='aabbcc'; my $x=hex($s)^hex($t); printf('%0x', $x);
In reply to Re: Hex String XOR
by rovf
in thread Hex String XOR
by alanonymous
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |