Hii everyone,
I am trying to use google proto to transfer data from client to server and vice versa.
I am not getting, how I can implement such thing.
I am thinking of these steps:
* Client
1. Set proto message's fields
2. Serialize to byte array
3. encrypt
4. Send from client
* Server
1. Decrypt
2. Deserialize
3. Print message
Is this process correct and if yes can you suggest functions/implementations to do that.
I suppose for client step2 I can use SerializeToArray, but how can I encrypt it?
Also is it possible to compress that data, I mean will it work in protobuff?