Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Mention password in the script -encrypted form

by Lawliet (Curate)
on Feb 19, 2009 at 22:10 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://745210]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-24 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found