MySQL Forums
Forum List  »  PHP

Re: C code of function PASSWORD('<pass>')
Posted by: Jay Pipes
Date: September 18, 2005 05:46PM

You can find the actual hashing and encryption routines in the aptly named password.c file. Also, the actual implementation of the SQL PASSWORD() function can be found around line 1370 of item_strfunc.cc. Both of these files can be found in the /sql directory of the source tree. (p.s. I say *around* line 1370 because, depending on your version of the source code, the exact line number will vary...

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
Re: C code of function PASSWORD('<pass>')
September 18, 2005 05:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.