golgiapparatus has asked for the wisdom of the Perl Monks concerning the following question:
What can I do better here to modify the char ^ 255 for outputting to new text file? Thank you for the help.my $pLog = $_; $pLog = encode("utf-8",$pLog); my @strUTF = split(//,$pLog); for(my $i = 0; $i < scalar(@strUTF); $i++){ print chr(ord($strUTF[$i]) ^ 255);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: un obfuscate logfiles with xor
by LanX (Saint) on Jun 25, 2013 at 22:18 UTC | |
|
Re: un obfuscate logfiles with xor
by Laurent_R (Canon) on Jun 25, 2013 at 21:16 UTC | |
by golgiapparatus (Novice) on Jun 25, 2013 at 21:34 UTC | |
by Eily (Monsignor) on Jun 25, 2013 at 22:27 UTC | |
by Loops (Curate) on Jun 25, 2013 at 22:15 UTC | |
|
Re: un obfuscate logfiles with xor
by Eily (Monsignor) on Jun 25, 2013 at 21:24 UTC |