code: def _encode_item(self, item: str) -> str:
          
          assert item is not None
          if not self.__redis_conf['anonymization']:
              return item
          connection = self.__get_connection()
          salt = connection.get(self.__redis_conf['salt_key'])
          if salt is None:
              salt = create_salt()
              connection.set(self.__redis_conf['salt_key'], salt)
          BlackRed.__release_connection(connection)
          return sha512(salt + item.encode()).hexdigest()
docs: If anonymization is on, an item gets salted and hashed here.
  
          :param str item:
          :return: Hashed item, if anonymization is on; the unmodified item otherwise
          :rtype: str