Calculating the MySQL 5 password hash
Posted: Mon 20 Nov 2006 20:55
Hello!
Part of my application will have to manage a large number of users.
Therefore passwords will often change. I wouldn’t like the plain text passwords to get saved in any query-logs, therefore I'd like to hash the new passwords before I send them.
Right now I'm using SELECT PASSWORD('mypassword') which kind of defeats the whole point.
Is there any other way (a Pascal procedure) to get the password hash returned by PASSWORD()?
Best regards,
Ajasja Ljubetič
Part of my application will have to manage a large number of users.
Therefore passwords will often change. I wouldn’t like the plain text passwords to get saved in any query-logs, therefore I'd like to hash the new passwords before I send them.
Right now I'm using SELECT PASSWORD('mypassword') which kind of defeats the whole point.
Is there any other way (a Pascal procedure) to get the password hash returned by PASSWORD()?
Best regards,
Ajasja Ljubetič