import hashlib


def getETag(data):
  """Gets the ETag for the specified data.

  Args:
    data: The data for which the ETag should be generated.
  """
  md5 = hashlib.md5()
  md5.update(data)
  return md5.hexdigest()[-16:]