Re: MySQL, MD5 and SHA1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grega Leskovsek wrote:

> 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?
> 

You could have just checked the mysql manual?  But yes, there is also a
SHA1 function.


/Per

-- 
Per Jessen, Zürich (19.2°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux