⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
Alice
Alice
Bob
Bob
Bob generates a pair of keys
- Public Key (shared)
- Private Key (kept secret)
Alice knows Bob’s public key is available
The message is encrypted and sent over an insecure channel.
Even if intercepted, it cannot be decrypted without the private key.
Private key is never shared or exposed
Only Bob can decrypt the message, as the private key is secret and computationally infeasible to reverse-engineer.
Anyone can encrypt using Bob’s public key, but only Bob can decrypt using his private key.
Generate public/private key pair
Requests Bob’s public key (via website or secure channel)
Sends Bob’s public key
Encrypts message using Bob’s public key
Sends encrypted message (ciphertext)
Decrypts the message using his private key
Reads the decrypted message (plaintext)
Secure message successfully transmitted