You are here: Re: [PHP] Password encryption and password retrieval « PHP « IT news, forums, messages
Re: [PHP] Password encryption and password retrieval

Posted by Philip Hallstrom on 05/10/05 17:45

> I want to implement a site where i would like to
> encrypt the password of the users and store it into
> mysql
> database. My question is that , In case if the user
> has forgotten the password how can he retrieve the
> password(which is already encrypted and stored...the
> user should be able to get the decrypted password).

Once encrypted that's it. The user can't get it back. Best thing is to
ask them to verify additional information and then send a randomly
generated passwort to the email address *you* have on file for that user.

They can then change it when they login.

> Also which encryption method would you recommend. ie.
> md5,crypt, etc....

of those two, md5. search the net for discussions about md5 vs sha1...

-philip

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация