Exakat\Analyzer\Security\AvoidThoseCrypto::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // in hashing functions
        $this->atomFunctionIs(HashAlgos::$functions)->outIs('ARGUMENTS')->outWithRank('ARGUMENT', 0)->atomIs('String')->hasNoOut('CONCAT')->noDelimiterIs(array('md2', 'md4', 'md5', 'crc32', 'crc32b', 'sha0', 'sha1'));
        $this->prepareQuery();
        // in hashing functions
        $this->atomFunctionIs(array('crypt', 'md5', 'md5_file', 'sha1_file', 'sha1', 'crc32'));
        $this->prepareQuery();
    }
AvoidThoseCrypto