Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Encryption and MD5

by moritz (Cardinal)
on Feb 04, 2008 at 14:56 UTC ( [id://665975]=note: print w/replies, xml ) Need Help??


in reply to Encryption and MD5

The salt is just another string, and computing the md5 sum is a simple mapper of calling a function:
use Digest::MD5 qw(md5_hex); my $md5_password = md5_hex($password . $salt);

No rocket science, and not worth a module on its own ;-)

Log In?
Username:
Password:

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

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

    No recent polls found