Note - lang = CPP

On Sunday, 26 February, 2023 at 10:38:40 pm UTC+5:30 Sumit Patil wrote:

> 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 protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/66045341-82d4-4fc6-af1a-7485457c0849n%40googlegroups.com.

Reply via email to