List:Internals« Previous MessageNext Message »
From:Andrew Houghton Date:March 5 2001 11:09pm
Subject:password() func in libmysql?
View as plain text  
Hi;  sorry to bother the list with this, but I don't know where else to send
the question.

I'm writing an authorization module which gives folks the option of using
the mysql password() function to store hashed passwords.  I searched for a
c-api function that would do this processing locally, but I can't find one.
As far as I can tell, the only way to get the output of the password
function is a query like:

select password('my arbitrary string')

but this makes me a little queasy since the query may be logged and will
probably be world-readable in the log by default.

So, I wonder:

1) are there any plans to include password() hashing in the api?
2) what hash function is mysql actually using, such that I can implement it
myself, and is it stable enough that it doesn't change over time?

Thanks,

Andrew

Thread
password() func in libmysql?Andrew Houghton6 Mar
Re: password() func in libmysql?btjones6 Mar