|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^4: strings to number and XORby almut (Canon) |
| on Oct 07, 2009 at 17:20 UTC ( #799764=note: print w/ replies, xml ) | Need Help?? |
|
an extra byte or two in the key doesn't hurt anything It's maybe worth trimming your XORed string to the original length, or else half of your key pattern might leak... (to anyone who makes an educated guess about the procedure)
... just in case you do want to keep it secret (I don't really know what you intent to use this for). (OTOH, if encryption was the idea, and security was of any relevance, I'd choose a different approach anyway :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||