Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Crypt::Password alternatives

by rdfield (Priest)
on Jan 17, 2016 at 13:13 UTC ( #1152973=perlquestion: print w/replies, xml ) Need Help??

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

I'm currently using Crypt::Password for checking/generating passwords of various types, but it appears to have been abandoned - it won't install via cpan, and it no longer appears in metacpan's listings.

What is the Monastery's opinion on the best alternative? Is there even a direct replacement or do I need to use a combination of other modules?


Replies are listed 'Best First'.
Re: Crypt::Password alternatives
by Corion (Patriarch) on Jan 17, 2016 at 14:04 UTC
      Not sure if it is a bug, in the cpan shell it used to show an error (something about a signature, didn't write it down at the time), but now it's just not found:
      cpan[3]> install Crypt::Password Warning: Cannot install Crypt::Password, don't know what it is. Try the command i /Crypt::Password/ to find objects with matching identifiers. cpan[4]> i /Crypt::Password/ Module < Crypt::Password::StretchedHash (RITOU/Crypt-Password-Stretch +edHash-0.05.tar.gz) Module < Crypt::Password::StretchedHash::HashInfo (RITOU/Crypt-Passwo +rd-StretchedHash-0.05.tar.gz) Module < Crypt::Password::Util (PERLANCAR/Crypt-Password-Util-0.12.t +ar.gz) 3 items found
      Not to worry, I've looked at the source code and built a suitable wrapper to crypt for my code's use that mimics the relevant functions that I needed - just generating a suitable salt, and then extracting the salt again for the comparison with the plain text.


Re: Crypt::Password alternatives
by hotchiwawa (Scribe) on Jan 17, 2016 at 14:29 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1152973]
Front-paged by Arunbear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-03-23 18:21 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.