wouldn't it be:

username: text
password: salt + hash (hashing of your choosing)

?



-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2005 12:42
To: CF-Talk
Subject: Re: Password management Best Practices

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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201846
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to