DEV Community

Discussion on: How to implement WhatsApp like End-to-end encryption?

 
anduser96 profile image
Andrei Gatej

I don't think there is a way to solve this with the current approach. That's because if a new member joins and none of the other members is active, then it's impossible to get that private key of the group, so you can't decrypt the messages.

Moreover, I read that Discord does not use E2EE, so this might be a reason why you can see previous messages when you join a group there.

Thread Thread
 
pankajtanwarbanna profile image
Pankaj Tanwar

Yes, Discord & Telegram has developed their own smart algorithms to deal with such use cases. Do you have any documentation or article related to Discord's implementation for this?

Thread Thread
 
anduser96 profile image
Andrei Gatej

Sorry for the late reply. No, I just did a quick search to see whether Discord is using such feature or not. But I'd be glad to read more about it too.

Thread Thread
 
pankajtanwarbanna profile image
Pankaj Tanwar

I am also searching a bit. I will let you know if I find something. Thank you for such a useful conversation. Hope to learn more from you.