Re: MySQL encryption
| From: | Johannes Schlüter | Date: | Wed, 18 Oct 2000 21:32:52 +0000 |
| Subject: | Re: MySQL encryption | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3755@lists.php.net to get a copy of this message | ||
Hi Bryan,
the MySQL-PAssword function is a one-way encryption. You can'tdecode it (just like UNIX crypt)
the
output given is the encoded string.
Johannes
Date sent: Wed, 18 Oct 2000 14:25:15 -0700
To: php-db@lists.php.net
From: bryan <bryan@concept-factory.com>
Subject: [PHP-DB] MySQL encryption
> Hey everyone..
>
> I ask a ton of questions on here, and thanks for the help and patience from
> everyone.
>
> Anyhow, I am trying to Encrypt a password for my end users. I have done so
> in the MySQL db, by simply going ... PASSWD('mypass'), but it returns
> something such as "3afi4004idgv", and my original never works.
>
> Is there a way that i could "hash #" out the passwords instead of making a
> boggus number? Or should I not even care about the database, and simply
> ENCRYPT the passwords using PHP?
>
>
> Thanks!
> bryan
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>