Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Ecrypting passwords

by hardburn (Abbot)
on Oct 06, 2003 at 13:55 UTC ( [id://296937]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    CREATE TABLE secure_fields (
        id     INTEGER UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL, 
        salt   INTEGER UNSIGNED NOT NULL, 
        passwd CHAR(40) NOT NULL 
    );
    
  2. or download this
    plaintex_passwd  = The plaintext password from the user 
    hex()  = Hex encoding function
    ...
    +      = String concat
    
    hex( SHA1( salt + SHA1( salt + plaintext_passwd ) ) )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-19 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found