Ver original$pass = '123456'; $hash = password_hash($pass, PASSWORD_BCRYPT); if (password_verify($pass, $hash)) { return true;} else { return false;}