can i use protocol buffer to encrypt and send a file

3,294 views
Skip to first unread message

nit

unread,
Oct 14, 2010, 2:45:26 AM10/14/10
to Protocol Buffers
Hi all,
I have a file which i need to encrypt and send so can i use
protocol buffer for this buffer? please do reply me.

thanks

Adam Vartanian

unread,
Oct 14, 2010, 7:51:23 AM10/14/10
to nit, Protocol Buffers
>   I have a file which i need to encrypt and send so can i use
> protocol buffer for this buffer? please do reply me.

Protocol buffers don't provide any built-in encryption or anything
like that, no, all they provide is a serialization format. You could
use protocol buffers to send a file you encrypted via some other
method, but I don't think that's what you're asking.

- Adam

nit

unread,
Oct 18, 2010, 1:01:40 AM10/18/10
to Protocol Buffers
Hi Adam,
Thanks a lot for your reply. But I saw in the google code website
that encoding will be done in Base 128 Varint. So what i understood by
default was it will be done to all. Is it right?!!!!

thanks,
Nithin Shubhananda

Christopher Smith

unread,
Oct 18, 2010, 3:12:38 AM10/18/10
to nit, Protocol Buffers
Base 128 Varint is an encoding scheme, not an encryption scheme.
 
--
Chris

Prakash Rao

unread,
Oct 18, 2010, 10:48:25 PM10/18/10
to Protocol Buffers
Protocol buffer is meant only for serialization & de-serialization. I
believe for file attachment you need to have some other implementation
such as web services (SAAJ) or http mime attachment. And as Smith said
protocol buffer doesn't provide any built in encryption and if you
need one, you need to add on top of protocol buffer layer. I had
similar conversation before on encryption and may be this is useful
for you.

http://groups.google.com/group/protobuf/browse_thread/thread/16a83a5910d62acf

Regards,
Prakash

On Oct 18, 12:12 pm, Christopher Smith <cbsm...@gmail.com> wrote:
> Chris- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages