"Note: The PASSWORD() function is used by the authentication system in MySQL Server, you should not use it in your own applications. For that purpose, use MD5() or SHA1() instead. Also see RFC 2195 for more information about handling passwords and authentication securely in your application."
http://dev.mysql.com/doc/mysql/en/en...functions.html





usa l'algoritmo MD5, disponibile sia su mySQL, sia su php.