I search how to decrypt a password stored in bcrypt using php, but I don't find a good explaination. Could you please send some useful links ? Thx in advance and sorry for my english
1 Answer
You cannot decrypt a password stored with bcrypt. That's the whole point of using a cryptographic hash function.
All you can do is check if a given password matches (see code sample). This method could be applied repeatedly with many candidates, that is called "brute force attack", and it is not feasible for strong passwords.
1 Comment
Memor-X
"that is called "brute force attack", and it is not feasible for strong passwords." until we have quantum computers.