def has_fingerprint_dlog(self, modulus):
        """
        Exact fingerprint using mathematical structure of the primes
        :param modulus:
        :return:
        """
        if not self.is_acceptable_modulus(modulus):
            return False

        self.tested += 1
        positive = self.dlog_fprinter.fprint(modulus)

        if positive:
            self.found += 1

        return positive
def has_fingerprint_dlog ( self , modulus ) : if not self . is_acceptable_modulus ( modulus ) : return False self . tested += 1 positive = self . dlog_fprinter . fprint ( modulus ) if positive : self . found += 1 return positive
Exact fingerprint using mathematical structure of the primes
        :param modulus:
        :return: