Searched refs:algorithm (Results 1 – 1 of 1) sorted by relevance
164 def get_file_summary(src_file, algorithm="sha256", buffer_size=100 * 1024): argument177 if hasattr(hashlib, algorithm):178 algorithm_object = hashlib.new(algorithm)189 LOG.error("the algorithm '%s' not in hashlib!" % algorithm)