Hashing
The Laravel provides secure Bcrypt hashing for storing user passwords. If you are using the built-in LoginController
and classes that are included with your Laravel application, they will automatically use Bcrypt for registration and authentication.
Basic Usage
Verifying A Password Against A Hash
The check
method allows you to verify that a given plain-text string corresponds to a given hash. However, if you are using the , you will probably not need to use this directly, as this controller automatically calls this method: