I am using this function in Java to generated a secrect URL Parameter:
new String(Base64Encoding.encode(String.valueOf(vendorId), Bean.getSessionId()))
And i need to do the same in my ios app, can someone help? Only found examples for base64 encoding. But not how to say this is my "salt". (Sessionid).