Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Replacing crypt() for password login via a digest - looking for stronger alternative

by davebaker (Pilgrim)
on Jun 11, 2021 at 19:14 UTC ( #11133797=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    grant_website_access() if ( $password_entered_on_web_form eq crypt( $u
    +ser_specific_hash_stored_in_text_file_on_server, $password_entered_on
    +_web_form );
    
  2. or download this
    grant_website_access() if ( $password_entered_on_web_form eq something
    +_stronger_than_crypt( $user_specific_hash_stored_in_text_file_on_serv
    +er, $password_entered_on_web_form );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11133797]
Approved by jo37
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2021-10-21 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?