Answer the question
In order to leave comments, you need to log in
How to get password from passwordhash field?
Greetings.
Tell me what function to get the password from the table?
Answer the question
In order to leave comments, you need to log in
Unfortunately not. The hash, as a rule, cannot be decoded. When checking the correctness of the entered password, a hash of the entered password is generated and the hashes are compared. Security is based on this - after receiving the table, you cannot enter.
You can try another option here. If you know exactly how passwords were hashed in the old database (algorithm, presence of a salt), then you can not change anything, but implement double hashing. First, check the password with the old algorithm, and then hash the resulting hash with a new one and check with the new hashes in the database, which you can overtake there with the algorithm you need. In principle, this will avoid the hassle of changing passwords.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question