Cómo validar la cadena hash en Laravel
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
kelraf
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
$hash = '$2y$10$ug8B6Pxs546eQBNICxsEOOH3NgpXjOIo.g4rf1FPZk2xJncWcFUpu';
if( strlen($hash) == 60 && preg_match('/^\$2y\$/', $hash ))