# e2ee
###### tags: `tech`,`asyncencrypt`
### what is e2e(end to end)?
https://www.youtube.com/watch?v=jkV1KEJGKRA&ab_channel=Computerphile
make the message cannot be decrypted in transition from source to target.
server only can get the encrypted message.
### how end to end flow?
A <-> server <-> B
1. A,B create pair key(public, private) for themself,
2. A,B exchange pulblic key
3. send the message encrypt with target user public key,(ex. A send message encrypted with B pulbic key, only b can decrypt with it own private key, vice versa.