Bugz has asked for the wisdom of the Perl Monks concerning the following question:

I have three part problem: 1. I'd like to encrypt a file and store it and decrypt it when I need to use it. How can i do that? 2. I need to password protect access my perl script which does the encryption & decryption so that no one can open it and read what's in without a password 3. Unless the right password it provided no one can execute my perl script. Can you please provide examples of how I can do this?