-
Notifications
You must be signed in to change notification settings - Fork 275
Proposal: end to end encryption
bensmiley edited this page Jul 17, 2017
·
4 revisions
Here is a proposed scheme for end-to-end encryption. In each of these examples we will imagine a chat between various imaginary users: User A, User B, User C etc...
- Users A and B generate new public private key pairs and store the public key on their vcard / user profile
- User A starts a new conversation with User B
- User A downloads User B's public key
- User A sends a message to User B. The message is encrypted using User B's public key
- User B recieves the message and decrypts it using the private key
- Users A, B and C generate new public private key pairs and store the public key on their vcard / user profile
- User A starts a new conversation with Users B and C
- User A downloads the public keys of Users B and C
- User A sends a new message. The payload is encrypted twice, once with User B's public key and once with User C's public key
- The message is sent to Users B and C
- Users B and C each find their version of the payload and decrypt it using their private key