Public Limited
Last updated
Last updated
This chat is open and anyone can search and find it but only who limited people like designated NFT holder can join.
In the public limited chat, users encrypt their messages with shared key of the group. Every time when the group member is changed, we re-generate new shard key and distribute it to all participants using DHKE. In case of the user leave or banned the group, the user has the shared key up to that point and can see the message, but after that point the key is changed and the message cannot be seen.
When members changed
DMTP server generates shared key()
DMTP server encrypt shared key with combined key of each participants. () and sends to all participants
Every time the members change, repeat these process and store all keys in DB.
Send messages
Users encrypt messages with the shared key and send to DMTP server
DMTP server send encrypted messages to the all participants.