What's faster/better to use MYSQL md5 FUNCTION or run md5 php function ?

Posted by haim evgi on Stack Overflow See other posts from Stack Overflow or by haim evgi
Published on 2009-07-26T13:05:57Z Indexed on 2010/04/22 14:23 UTC
Read the original article Hit count: 349

Filed under:
|
|
|
|

i check password of users against the db.

what is faster check it in mysql MD5 function

... pwd = MD5('.$pwd.')

OR in PHP

... pwd = '.md5($pwd).'

or what is The Right Way Between two options ?

thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php