docs: def sha256_digest(instr):
      '''
      Generate a sha256 hash of a given string.
      '''
      return salt.utils.stringutils.to_unicode(
          hashlib.sha256(salt.utils.stringutils.to_bytes(instr)).hexdigest()
      )