Laravel Hash :: Check
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
kelraf
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
use Illuminate\Support\Facades\Hash;
Hash::make($newPassword);
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
$hash = '$2y$10$ug8B6Pxs546eQBNICxsEOOH3NgpXjOIo.g4rf1FPZk2xJncWcFUpu';
if( strlen($hash) == 60 && preg_match('/^\$2y\$/', $hash ))
use Illuminate\Support\Facades\Hash;