on master help sign in
diffie-hellman
commit3f725698e167a6d4ff1cf726afbe515cb322a755 authorsyzygyzer <jon@tlon.io> dateWed 18 Nov 2020, 16:56 (6 years ago) parentd42f0a3
1 file changed+4−3
tutorials/arvo/ames.md+4−3
tutorials/arvo/ames.md+4−3
@@ -348,7 +348,9 @@ contact `~worwel-sipnum` but does not know the IP address and port at which
348348`~worwel-sipnum` resides. Both planets live under `~zod`, which knows both of
349349their IP and port numbers by virtue of being the galaxy that both live under.
350350
351−So `~bacbel-tagfeb` sends a packet addressed to `~worwel-sipnum` to `~zod`.
351+To prepare, `~bacbel-tagfeb` forms a Diffie-Hellman symmetric key with their own
352+private key and the public key of `~worwel-sipnum`, obtained via Jael. Then
353+`~bacbel-tagfeb` sends a packet addressed to `~worwel-sipnum` to `~zod`.
352354
353355The packet has the following format:
354356 - The standard Ames header described in [header](#header), where the checksum
@@ -361,8 +363,7 @@ followed by the payload.
361363 - The payload of this packet will be the `+jam` of `[origin content]`. `origin`
362364for this initial packet will be `~`, which implies that the packet is
363365originating from the sender. `content` is the `+jam` of the message, encrypted
364−using a Diffie-Hellman symmetric key obtained with the private key of
365−`~bacbel-tagfeb` and the public key of `~worwel-sipnum`.
366+using the Diffie-Hellman symmetric key that was previously computed.
366367
367368`~zod` receives the packet and reads the body. It sees that it is not the
368369intended recipient of the packet, and so gets ready to forward it to