17Şub
How can you check password for similarities if you don’t know the password as password hashing is one-way? For example, you forget your password
For example, you forget your password. How can you change the password with forget password? For example, if you don't have an email associated with that account yet.
I was thinking of asking the user to enter any password that he can remember and check the password in the DB for similarities with the password in the DB but it creates other challenges.
How can we check for the similarity if the password is hashed in the DB as hashing is one way?
Is there any way to achieve that?