3 ms·
> How long would it take to implement a change which updates the hashing algorithm for new logins while still using the old algorithm for old logins? As long a
by kevin_thibedeau 10y ago
> How long would it take to implement a change which updates the hashing algorithm for new logins while still using the old algorithm for old logins?
As long as you remember to store the cost parameter along with each hash it's just a matter of increasing the default cost and reusing the old ones.
- Matt3o12_ 10y agoI was talking about the algorithm. Let's say bcrypt is considered insecure in 5 years (even with 100 iterations) and you are supposed to use another hash algorithm. Is your code and database able to handle that? If so, great but I don't think many people implement this and depending on your code, this can get difficult.