http://www.perlmonks.org?node_id=476331


in reply to Re: Protecting passwords in source
in thread Protecting passwords in source

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.