Re: How crypting passwords in DB
| From: | Anuradha Ratnaweera | Date: | Fri, 22 Dec 2000 15:15:42 +0000 |
| Subject: | Re: How crypting passwords in DB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31587@lists.php.net to get a copy of this message | ||
On Fri, 22 Dec 2000 ouldm@linux-at-business.com wrote:
> I'm asking for how one can store crypted passwords in my database
> (Postgres). Actually I can see in clear the password of users
> authorized to access my site.
Use md5 to get an md5 hash of the pasword and store the result (a 32
character string) in the database.
Notice that md5 is not very good as far as collitions are concerned.
Anuradha