Re: Encrypted MySQL passwords (new info from MysQL list)
| From: | Richard Fox | Date: | Fri, 27 Sep 2002 13:19:57 +0000 |
| Subject: | Re: Encrypted MySQL passwords (new info from MysQL list) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117844@lists.php.net to get a copy of this message | ||
> Hi Andrew and Richard,
> The password and connection info is scrambled up. You can look, If
> you want to check it out for your self look in the source code of
> ./mysql-3.23.XX/libmysql search for the following functions.
> especially in 'mysql_real_connect' function. It is not the best
> method, but it is not clear text!
>
> void hash_password(ulong *result, const char *password)
> void make_scrambled_password(char *to,const char *password)
> char *scramble(char *to,const char *message,const char *password,
> my_bool old_ver)
>
> See ya
> Ken