2 ms·
Just as an example once when changing the hashing for users on a relatively popular site. Implemented new prefix + hash + salt system. On login, if old system
by tracker1 8y ago
Just as an example once when changing the hashing for users on a relatively popular site.
Implemented new prefix + hash + salt system. On login, if old system was used, verify and re-hash with new password system. Notify users to login after 60 days of inactivity. After 90 days, clear all passwords that didn't have the new hashing system, forcing out of band change-password process. Worked out very well in practice.
It helps to have a plan to deprecate older hashing approaches to passwords.