Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Mention password in the script -encrypted form

by Lawliet (Curate)
on Feb 19, 2009 at 22:10 UTC ( #745210=note: print w/ replies, xml ) Need Help??


in reply to Mention password in the script -encrypted form

If you just want to obfuscate it a little (in case you have to open the file in front of untrustworthy people), I suggest to use a combination of map, ord, and chr. You have to first create a test script and run the password through some ord's and chr's to get an obscure string. Then, reverse the previous algorithm and place it in your script. I would give you an example of how I did this but it is not with me right now. :(

And you didn't even know bears could type.


Comment on Re: Mention password in the script -encrypted form

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://745210]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-08-01 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls