I use bcrypt to store passwords in my database using a work factor of 7, which takes about 0.02 seconds for a password hash on my reasonably modern laptop.
Koda Hale says that using bcrypt allows you to "keep up with Moore's law" by adjusting the coefficient of work. But there is no way to re-encrypt the user password, since I do not store plaintext. How can I keep my database up to date and hard to hack (assuming it hangs around for 5+ years, why would this become a problem)?
source share