code: def generate_hash(*descriptors, length: int) -> str:
      hasher = hashlib.sha256()
      for descriptor in descriptors:
          hasher.update(str(descriptor).encode())
  
      return hasher.hexdigest()[-length:]
  
label_desc: Use image node_id 1 for calling a global function with example usage: generate_hash() and returns: hasher