Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?

rdfield

Replies are listed 'Best First'.
Re: Crypt::Password alternatives
by Corion (Pope) 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.

      rdfield

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2021-02-26 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?