code: def hash_data(salt, value):
          
          msg = "UserIdHasher is deprecated; use satosa.util.hash_data instead."
          _warnings.warn(msg, DeprecationWarning)
          return util.hash_data(salt, value)
docs: Hashes a value together with a salt.
          :type salt: str
          :type value: str
          :param salt: hash salt
          :param value: value to hash together with the salt
          :return: hash value (SHA512)