Do I change salt value when changing a user password?

Suppose I store a random salt value for each user. Do I have to generate a new salt value when that user password is changed or do I use the same value for the whole lifetime of that user account?

14
задан CodesInChaos 30 January 2014 в 09:43
поделиться