mcollina / msgpack5

A msgpack v5 implementation for node.js, with extension points / msgpack.org[Node]
MIT License
491 stars 76 forks source link

using msgpack + encryption #21

Closed behrad closed 9 years ago

behrad commented 9 years ago

I was looking for a small footprint payload format for between my MQTT connections, I faced ubjson and messagePack and then found you again @mcollina ;) Not completely related to this repo, but why not to ask you here? :p

1) is messagePack superior to ubjson for mqtt in mobile apps? I have node.js + Java clients 2) I want (end to end) encryption of payload for security reasons, which standard/library dya recommend for this?

mcollina commented 9 years ago

1) here you can send custom types, which is not supported by ubjson. They both do the same thing. I can guess that ubjson is faster to parse (given that the spec is easier), but that is also library-dependant 2) I just recommend a 'correct' setup of TLS, using the most recent cyphers.

behrad commented 9 years ago

:+1: