What are the best ways to do end-to-end encryption in meteor


#1

I have chat feature in my website and I want to do end-to-end encryption of each message.
Is there any packages to do that?
What is the best way to do it?


#2

First and foremost, use https. For the majority of use cases this is sufficient.

If you want more, you could look at https://github.com/strikeout/mylar, although it hasn’t been updated for a few months. Atmosphere repo’s: https://atmospherejs.com/?q=mylar


#3

Might be worth looking into EveryBit. I haven’t used it, but have been meaning too. I was just thinking the other day that it would be cool to have something like it as an optional package baked in at the DDP layer.