Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Storing encryted passwords in MySQL

by arthas (Hermit)
on Jun 07, 2003 at 10:23 UTC ( [id://263941]=note: print w/replies, xml ) Need Help??


in reply to Storing encryted passwords in MySQL

You can also use the MySQL functions for encrypting passwords.

While the usage of password() is discouraged in user applications, there is crypt() (which calls system's crypt, so it's exactly as Perl's crypt, with an 8 chars string limit). If you need MD5, therere md5(); also, you can use sha1() to get a SHA checksum of your password.

Full documentation can be found here.

Hope this helps.

Michele.

  • Comment on Re: Storing encryted passwords in MySQL

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-25 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found