Mark Leder wrote:
>  
> I've been pondering the problem of password storage in a db and its
> retrievability, and was wondering what other people have done in the
> following situations:
>  
> 1) What method(s) used for password encryption (salt and hash).  What tag(s)
> do you use?

Salt: username
Hash: MD5


> 2) When someone forgets their password, how would an encrypted password be
> de-salted/de-hashed and displayed on a screen?

Depends on requirements, but obviously you can not decrypt a 
hashed pasword. I prefer to provide a new password out-of-band 
after their identity has been established out-of-band. SMS / 
(e)mail / telephone could all be options depending on the scenario.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201845
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to