Public Limited

This chat is open and anyone can search and find it but only who limited people like designated NFT holder can join.

Encryption & Decryption

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.

What's happening inside

  • When members changed

    1. DMTP server generates shared key(AES)

    2. DMTP server encrypt shared key with combined key of each participants. (ECDH) and sends to all participants

    Every time the members change, repeat these process and store all keys in DB.

  • Send messages

    1. Users encrypt messages with the shared key and send to DMTP server

    2. DMTP server send encrypted messages to the all participants.

Last updated