Re:The Top 50 Gawker Media Passwords
by Kadrith on Wednesday December 15, 2010 @05:42PM
(#2010142)
Wouldn't you just need to hash the password and do a lookup on the table to see how many results were returned?
[ Parent
| on HN ]
If you are generating a per-password salt, that won't work. In order to find prior occurrences of a given password, you would have to hash the password for every salt value that you've ever used. And since you're using BCrypt[1], that will be very slow.