You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: Messages are encrypted and then transmitted through the server (stored in server's database), but the server doesn't know anything about the message. It just passes the message to the target client.
Idea: Using public/private key pair.
Detail:
PA, VA: public and private key of Alice, PB, VB: public and private key of Bob.
Server will store all users' public keys.
For a message msg, Alice sends PA(msg) and PB(msg), i.e., the message encrypted using Alice's public key and Bob's public key.
Server will sends PB(msg) to Bob. Bob is able to view the message by VB(PB(msg)) using his private key.
If Alice wants to view her message history, she can acquire PA(msg) from the server, and decrypt using her private key VA.
The text was updated successfully, but these errors were encountered:
Instead of sending PA(msg) and PB(msg) to server, only send VA(msg). The server will automatically encrypts it again using PA. It also makes Bob able to verify Alice's signature.
Goal: Messages are encrypted and then transmitted through the server (stored in server's database), but the server doesn't know anything about the message. It just passes the message to the target client.
Idea: Using public/private key pair.
Detail:
PA
,VA
: public and private key of Alice,PB
,VB
: public and private key of Bob.msg
, Alice sendsPA(msg)
andPB(msg)
, i.e., the message encrypted using Alice's public key and Bob's public key.PB(msg)
to Bob. Bob is able to view the message byVB(PB(msg))
using his private key.PA(msg)
from the server, and decrypt using her private keyVA
.The text was updated successfully, but these errors were encountered: