code: def sha256_of_string(string):
      """Computes the SHA256 hash of a string."""
      sh = sha256()
      sh.update(string)
      return sh
  
imports: from collections import namedtuple
  from hashlib import sha256
  import os
  import shutil
  import sys
  import fnmatch
  from sympy.testing.pytest import XFAIL
label_desc: Use image node_id 8 for calling a global function with example usage: sha256_of_string(string) and returns: sh