Answers for "laravel hash make check"

PHP
1

laravel hash

use Illuminate\Support\Facades\Hash;

Hash::make($newPassword);

if (Hash::check('plain-text', $hashedPassword)) {
    // The passwords match...
}
Posted by: Guest on February-19-2021
1

how validate hash string in laravel

if (Hash::check('plain-text', $hashedPassword)) {
    // The passwords match...
}
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language