You can't. That's the point of using bcrypt to hash your users' passwords.
Why do you want to do this?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
how to decrypt bcrypt password... i want to match old password..
Bcrypt will always output a different hash each time. That's normal.
Here's some code that checks whether the provided $suppliedPassword is correct. Put this in your controller:
use Auth;
use Hash;
private function passwordCorrect($suppliedPassword)
{
return Hash::check($suppliedPassword, Auth::user()->password, []);
}
Please or to participate in this conversation.