code: def redact_info(
      text, engine_backend, score_threshold=_DEFAULT_SCORE_THRESHOLD
  ):
      """Redact sensitive data with mapping between hashed values and infotype.
  
      Args:
          text (str): String value
          engine_backend: The backend analyzer engine. Default is presidio_analyzer.
          score_threshold (float): Minimum confidence value for detected entities to be returned
  
      Returns:
          String with redacted information
      """
      response = identify_pii(text, engine_backend, score_threshold)
      word_mapping, text = create_mapping(text, response)
      return reduce(
          lambda a, kv: a.replace(*kv), word_mapping.items(), 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 5 for calling a global function with example usage: redact_info(text, engine_backend, score_threshold) and returns: reduce