Better HN
topnewbestaskshowjobs
Log inSign up

mellowfish

-4 karma · joined Jan 14, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

For login purposes, it is indeed good to use hashes, this prevents timing attacks and the like. But I fail to see the harm in keeping encrypted passwords for admin purposes. It is very helpful in certain situations.

comment 12y ago · link · parent

Being able to send passwords back over email and/or view them as an admin does not mean they are stored in the DB in the clear. It is a fairly common practice to strongly encrypt passwords in the DB and decrypt them when it is necessary for admin personnel to be able to use them.