def hash_all(strs, digest=None):
  digest = digest or hashlib.sha1()
  for s in strs:
    digest.update(s)
  return digest.hexdigest()
Returns a hash of the concatenation of all the strings in strs.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/hash_utils.py/hash_all