MySQL, MD5 and SHA1
| From: | Grega Leskovsek | Date: | Tue, 21 Apr 2009 12:34:54 +0000 |
| Subject: | MySQL, MD5 and SHA1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-291728@lists.php.net to get a copy of this message | ||
provided I want to store hash of a password in MySQL ... Using MySQL,
the whole check can be achieved with a SQL query, since the MD5
function is provided as part of the database query language ...
Can I use also SHA1 or must I use MD5?
Thanks in advance,
--
When the sun rises I receive and when it sets I forgive ->
http://users.skavt.net/~gleskovs/
All the Love, Grega Leskov'sek