code: def _compute_hash(buffer: bytes, secret_key: str) -> str:
      """Compute the hmac-sha256 hash"""
      return hmac.new(
          secret_key.encode(), msg=buffer, digestmod=hashlib.sha256
      ).hexdigest()
  
imports: from __future__ import absolute_import
  import dataclasses
  import json
  import io
  import sys
  import hmac
  import hashlib
  import pickle
  from typing import Any, Callable, Union
  import cloudpickle
  from tblib import pickling_support
  from sagemaker.remote_function.errors import ServiceError, SerializationError, DeserializationError
  from sagemaker.s3 import S3Downloader, S3Uploader
  from sagemaker.session import Session
  from ._custom_dispatch_table import dispatch_table
label_desc: Use image node_id 12 for calling a global function with example usage: _compute_hash(buffer, secret_key) and returns: hmac