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
Asked
Active
Viewed 2.6k times
1 Answers
8
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.
-
*"that is called "brute force attack", and it is not feasible for strong passwords."* until we have quantum computers. – Memor-X Aug 15 '16 at 06:54