Skip to content

Commit

Permalink
Edited 14_encrypted_transport.asciidoc with Atlas code editor
Browse files Browse the repository at this point in the history
  • Loading branch information
kristenORM committed Nov 15, 2021
1 parent 6552d34 commit 7bc14fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 14_encrypted_transport.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ Where `s` is the static public key of the initiator.
3. `se = ECDH(s.priv, re)`
+
Where `re` is the ephemeral public key of the responder.
[role="pagebreak-before"]
4. `ck, temp_k3 = HKDF(ck, se)`
+
The final intermediate shared secret is mixed into the running chaining key.
Expand Down Expand Up @@ -583,6 +582,7 @@ total maximum packet length of pass:[<span>2 + 16 + 65,535 + 16 = 65,569</span>]

====== Encrypting and sending messages

[role="pagebreak-after"]
To encrypt and send a Lightning message (`m`) to the network stream,
given a sending key (`sk`) and a nonce (`sn`), the following steps are
completed:
Expand Down

0 comments on commit 7bc14fd

Please sign in to comment.