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.