public function verify($original, $hash)
    {
        if ($this->verifyAlgorithm && $this->info($hash)['algoName'] !== 'bcrypt') {
            throw new \Exception('This hash does not use bcrypt algorithm', 500);
        }

        return parent::verify($original, $hash);
    }
public function verify($original, $hash)
    {
        if ($this->verifyAlgorithm && $this->info($hash)['algoName'] !== 'bcrypt') {
            throw new \Exception('This hash does not use bcrypt algorithm', 500);
        }

        return parent::verify($original, $hash);
    }
public function verify ( $ original , $ hash ) { if ( $ this -> verifyAlgorithm && $ this -> info ( $ hash ) [ 'algoName' ] !== 'bcrypt' ) { throw new \ Exception ( 'This hash does not use bcrypt algorithm' , 500 ) ; } return parent :: verify ( $ original , $ hash ) ; }
Verify the hash value.

@param string $original
@param string $hash

@since 3.0.0

@return bool
Verify the hash value .