|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Protecting passwords in sourceby simonm (Vicar) |
| on Jul 20, 2005 at 01:34 UTC ( #476331=note: print w/ replies, xml ) | Need Help?? |
|
As long as you know it's just obfuscated, not really protected, there are a lot of techniques you could use. Rot13 might work (tr[a-z][m-za-l]), or you could try unpacking it to a string of hex digits and then packing it back when you're ready to use it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||