src/Scorer.php
protected function calcCrackTime($entropy)
    {
        $this->crackTime = (0.5 * (2 ** $entropy)) * (self::SINGLE_GUESS / self::NUM_ATTACKERS);

        return $this->crackTime;
    }
protected function calcCrackTime($entropy)
    {
        $this->crackTime = (0.5 * (2 ** $entropy)) * (self::SINGLE_GUESS / self::NUM_ATTACKERS);

        return $this->crackTime;
    }
protected function calcCrackTime ( $ entropy ) { $ this -> crackTime = ( 0.5 * ( 2 ** $ entropy ) ) * ( self :: SINGLE_GUESS / self :: NUM_ATTACKERS ) ; return $ this -> crackTime ; }
Get average time to crack based on entropy.

@param $entropy

@return float
Get average time to crack based on entropy .