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?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/deb69e2f-5c32-4cbb-baa2-b2582137f9bcn%40googlegroups.com.

Reply via email to