2 ms·
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 eve
by aamar 16y ago
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.
[1] http://codahale.com/how-to-safely-store-a-password/ http://codahale.com/how-to-safely-store-a-password/