slayedbylucifer has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I have simple question for you. I am newbie at Perl. I want to have apassword encryption and decryption mechanism in my perl script. Write now hte password that I use in my script is a clear text passwordand my scripts works fine wiht it. so, I want to get rid of the clear text password.
So far after doing a lot of googling, I came accorss following 3 modules whihc could be useful for my use case
Crypt::CBC Crypt::Twofish_PP MIME::Base64
I am just not able to get it right with either of them. Eeither I am too naive to understand these modules OR I am running after the wrong stuff.
So, this is what i want to:
1) encrypt the password in a dedicated perl script 2) Use this encrypted password in my perl script (where right now I have clear text password), tun a subrouting to decrypt this password and then retunr the necessary password to the caller so that my Perl script continue to execute.
Could you give me guidance on how to proceed. Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Password Encryption and Decryption
by zentara (Cardinal) on Mar 23, 2012 at 23:13 UTC | |
by slayedbylucifer (Scribe) on Mar 24, 2012 at 11:25 UTC | |
Re: Password Encryption and Decryption
by grantm (Parson) on Mar 24, 2012 at 08:42 UTC | |
by slayedbylucifer (Scribe) on Mar 24, 2012 at 11:27 UTC | |
by spiros (Beadle) on Aug 13, 2012 at 14:59 UTC | |
by Anonymous Monk on Nov 05, 2012 at 19:35 UTC | |
Re: Password Encryption and Decryption
by JavaFan (Canon) on Mar 23, 2012 at 19:13 UTC | |
by slayedbylucifer (Scribe) on Mar 23, 2012 at 19:22 UTC | |
by JavaFan (Canon) on Mar 23, 2012 at 19:36 UTC | |
by slayedbylucifer (Scribe) on Mar 23, 2012 at 19:51 UTC | |
by CountZero (Bishop) on Mar 23, 2012 at 20:00 UTC | |
by JavaFan (Canon) on Mar 23, 2012 at 20:27 UTC | |
by ferz (Initiate) on Mar 24, 2012 at 20:17 UTC | |
|