Laravel -Passwortüberprüfung

// verification of password
if (Hash::check('secret', $hashedPassword))
{
    // The passwords match...
}

// encyption of password
$password = Hash::make('secret');
mr.dar