Searched refs:format_func (Results 1 – 2 of 2) sorted by relevance
113 format_func = lambda digest: Base64EncodeHash(digest.hexdigest()) function124 format_func = lambda digest: digest.hexdigest() function136 return calc_crc32c, calc_md5, format_func, output_format158 (calc_crc32c, calc_md5, format_func, output_format) = (179 print '\tHash (%s):\t\t%s' % (name, format_func(digest))
171 def _gen_res(self, format_func): argument180 result += format_func(res) + "\n"