Password.php self::COST]);if(password_needs_rehash($passwordHash, self::HASH, ['cost'=self::COST])){$passwordHash = self::hash($password);}return $passwordHash;}public static function verify($password, $passwordHash){if(password_verify($pas
self::COST]); if(password_needs_rehash($passwordHash, self::HASH, ['cost'=>self::COST])){ $passwordHash = self::hash($password); } return $passwordHash; } public static function verify($password, $passwordHash){ if(password_verify($password, $passwordHash)) return true; return false; } }