code: def hash_bytes(obj: bytes) -> int:
      """Hash an `bytes` buffer"""
      # We use `blake2b` to hash the `bytes` object
      state = hashlib.blake2b(
          obj, digest_size=_HASH_SIZE, salt=_HASH_BYTES_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 5 for calling a global function with example usage: hash_bytes(obj) and returns: decode_int64