code: def hash_string(obj: str) -> int:
      """Hash an string object"""
      # Similar to `bytes`, we use `blake2b` to hash strings as well
      # First, we encode them to `utf-8` and then compute the hash
      # but *a different hash seed is provided* to make sure strings and their
      # utf-8 encoded blobs do not map to the same hash.
      state = hashlib.blake2b(
          obj.encode("utf-8"),
          digest_size=_HASH_SIZE,
          salt=_HASH_STR_SALT,
      )
      return decode_int64(state.digest())
  
file_path: aim/aim/storage/hashing/hashing.py
imports: import hashlib
  from aim.storage.encoding import encode_int64, decode_int64
  from aim.storage.hashing import c_hash
  from aim.storage.types import AimObject, AimObjectArray, AimObjectKey, AimObjectDict, NoneType
  from typing import Tuple, Union
label_desc: Use image node_id 6 for calling a global function with example usage: hash_string(obj) and returns: decode_int64