in reply to Enrypt/decrypt module built in pure perl

yes

Shortest answer ever?

e.g. UnixCrypt for a Perl only crypt module. But there are several, see CPAN! What are your requirements?

Udate
Crypt::Lite is an option but not if you're looking for STRONG encryption.

  • Comment on Re: Enrypt/decrypt module built in pure perl

Replies are listed 'Best First'.
Re^2: Enrypt/decrypt module built in pure perl
by libvenus (Sexton) on Feb 27, 2009 at 11:28 UTC

    Well i m browsing a website using Mechanize.I m authenticating myself by entering my login credentials. Now the login password is stored in clear text and i want to get rid of that.So i thought if i could store the encryted password somewhere and later retreive and decrypt it and then use it in my script, i could achieve the same.

    Let me know if there is a more elegant way to do the same

      I would follow the same approach. Of course don't hard code the password/key in the script, then you would gain little compared to your current approach.