code: def save_checksum(self, path):
          
          checksum = file_hash(path)
          kv = unitdata.kv()
          kv.set('hardening:%s' % path, checksum)
          kv.flush()
docs: Calculates and saves the checksum for the path specified.
  
          :param path: the path of the file to save the checksum.