code: def create_mapping(text, response):
      """Identifies sensitive data and creates a mapping with the hashed data.
  
      Args:
          text (str): String value
          response: List of presidio_analyzer.recognizer_result.RecognizerResult
  
      Returns:
          word_mapping (dict): Mapping of the hashed data with the redacted string
          ref_text (str): String with hashed values
      """
      ref_text = text
      word_mapping = {}
      for r in response:
          hashed = hash_string(text[r.start : r.end])
          word_mapping[hashed] = str("<" + r.entity_type + ">")
          ref_text = ref_text.replace(text[r.start : r.end], hashed)
      return word_mapping, ref_text
  
imports: import hashlib
  import logging
  from functools import reduce
  from typing import Optional, Union
  import warnings
  from data_describe.misc.logging import OutputLogger
  from data_describe.backends import _get_compute_backend
  from data_describe.compat import _is_dataframe, _compat, _requires
  from data_describe.config._config import get_option
  from data_describe._widget import BaseWidget
label_desc: Use image node_id 4 for calling a global function with example usage: create_mapping(text, response) and returns: word_mapping,  ref_text