Think about Loose Coupling | |
PerlMonks |
Re: Storing encryted passwords in MySQLby arthas (Hermit) |
on Jun 07, 2003 at 10:23 UTC ( [id://263941]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|