Reputation: 1892
I see that there's a security requirement in some audit systems that says "the user cannot change the password to a similar string". For example, simply changing 123456 to 123456! should not be allowed.
But if I am storing the password in the form of hashed string in my database, it seems there's no way for me to know if the two strings are similar. Even if a slight change is applied can lead to huge difference.
I wonder if there's a way for me to achieve this, other than storing the password somewhere else. So that the users' password can always be safe even if my server is hacked.
Upvotes: 0
Views: 17