code: def matches(self, hash_alg, hash_value):
          
          return self.alg == hash_alg and self.value == hash_value
docs: Does our algorithm and hash value match the specified arguments.
          :param hash_alg: str: hash algorithm
          :param hash_value: str: hash value
          :return: boolean