Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is saltpack suitable for low size messages in a streaming like environment? #58

Open
gradha opened this issue Mar 23, 2018 · 1 comment

Comments

@gradha
Copy link

gradha commented Mar 23, 2018

I was looking for an encrypted messagepack library and found this project. My goal is to add encryption to a location based app which uses websockets to stream in real time the position of its users. As such, I would expect to send less than 100bytes per user every 5 or 10 seconds at most, which is far away from the readme description of breaking up messages in sizes of 1MB sizes.

Is there anything bad in saltpack for short messages? Will each of them pad to 1MB chunks of gibberish or this is this sentence just aimed at developers willing to implement multimedia communications (sending pictures, audio, video, which weight much more)?

@geoah
Copy link
Contributor

geoah commented Jun 5, 2018

@gradha not sure if you've already figured out an answer to your question but I've been playing around with saltpack in the last couple of days as well and I thought I'd pitch in.

Non-armored encrypted saltpack messages seem to be adding around 210 bytes when anonymised and around 240 bytes when not to the original body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants