Laravel provide Bcrypt hashing for store a secure password by using keyword Bcrypt we can hash our password
$password = bcrypt('secret');
we can use this also
$password = Hash::make('secret');
we can use these two hashing method when we make registration process and in login process the Auth::attempt function automatically match password after hash, password entered by you
0 Comment(s)