Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: strings to number and XORby Anonymous Monk |
on Oct 07, 2009 at 16:57 UTC ( [id://799760]=note: print w/replies, xml ) | Need Help?? |
Okay one last item. Using:$key = "\x4f\xcb" x (length($msg)/2); how do I handle odd length messages?
We can see in your example too, that the last character is not xored, 0x7a. I would like it to be xored with 0x4f, or the first part of the key.
Thanks for your help.
Aaron
In Section
Seekers of Perl Wisdom
|
|