src/Searcher.php
protected function makeBruteforceMatch($password, $begin, $end, $cardinality = null)
    {
        $match = new Bruteforce($password, $begin, $end, substr($password, $begin, $end + 1), $cardinality);
        // Set entropy in match.
        $match->getEntropy();

        return $match;
    }
protected function makeBruteforceMatch($password, $begin, $end, $cardinality = null)
    {
        $match = new Bruteforce($password, $begin, $end, substr($password, $begin, $end + 1), $cardinality);
        // Set entropy in match.
        $match->getEntropy();

        return $match;
    }
protected function makeBruteforceMatch ( $ password , $ begin , $ end , $ cardinality = null ) { $ match = new Bruteforce ( $ password , $ begin , $ end , substr ( $ password , $ begin , $ end + 1 ) , $ cardinality ) ; // Set entropy in match. $ match -> getEntropy ( ) ; return $ match ; }
Make a bruteforce match object for substring of password.

@param string $password
@param int    $begin
@param int    $end
@param int    $cardinality optional

@return Bruteforce match
Make a bruteforce match object for substring of password .