code: def digested_line(line, digest_types):
      
  
      digested_line = []
      for i, ele in enumerate(line):
          try:
              digest_key = digest_types[i]
  
          except IndexError:
              digest_key = digest_types[0]
  
          digest = Digest(acceptable_types=[digest_key])
  
          try:
              digested_line.append(repr(digest(ele)))
  
          except Exception:
              digested_line.append("")
  
      return digested_line
docs: Returns list of digested values in line