Hi
I saw that I can send encrypted requests from the client to the exdtension, but can I send encrypted request from the extension to the client, with sendExtensionResponse method or something similar?
Can I send encrypted request from the server to the client?
Actually there is no encryption support at the moment.
Also recently we have discussed the real benefit of this feature in a long post. You can learn all the details and join the discussion here:
http://forums.smartfoxserver.com/viewtopic.php?t=7839
Also recently we have discussed the real benefit of this feature in a long post. You can learn all the details and join the discussion here:
http://forums.smartfoxserver.com/viewtopic.php?t=7839
I see.
Actually I'm using custom encryption in SFS 1.6 and I want to port it to the new version. What I do is JSON serialize the object - then encrypt it - then send it to server.
I see that you are using new binary protocol instead of JSON - so I guess you are using some sort of binary serialization/deserialization which I guess is more efficient than JSON.
Do you have a quick example on how to use the new serialization?
Actually I'm using custom encryption in SFS 1.6 and I want to port it to the new version. What I do is JSON serialize the object - then encrypt it - then send it to server.
I see that you are using new binary protocol instead of JSON - so I guess you are using some sort of binary serialization/deserialization which I guess is more efficient than JSON.
Do you have a quick example on how to use the new serialization?
Serialization is full transparent to the developer. Explaining how it work it would take a long time. We support almost 20 different data types each one with its binary encoding/decoding.
I would suggest a much simpler solution.
Encode your data in whatever way you prefer. JSON would be good too, then encrypt it and transmit the whole thing as a ByteArray.
The protocol compression will help you keeping the size to a minimum
I would suggest a much simpler solution.
Encode your data in whatever way you prefer. JSON would be good too, then encrypt it and transmit the whole thing as a ByteArray.
The protocol compression will help you keeping the size to a minimum