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 18, 2021
1 parent 855f3a9 commit 119367d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 14_encrypted_transport.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ between two ephemeral keys.
==== High-Level Overview

((("Lightning encrypted transport protocol","high-level overview")))((("Noise_XK","high-level overview")))Using the notation laid out earlier, we can succinctly describe the `Noise_XK`
as follows:
as pass:[<span class="keep-together">follows</span>]:
```
Noise_XK(s, rs):
<- rs
Expand Down Expand Up @@ -599,7 +599,7 @@ Where `len` obtains the length in bytes of the Lightning message.
* The nonce `sn` must be incremented after this step.
* A zero-length byte slice is to be passed as the AD (associated data).
4. Finally, encrypt the message itself (`m`) using the same procedure used to
encrypt the length prefix. Let this encrypted ciphertext be known as `c`.
encrypt the length prefix. Let this encrypted ciphertext be known pass:[<span class="keep-together">as <code>c</code></span>].
+
The nonce `sn` must be incremented after this step.
5. Send `lc || c` over the network buffer.
Expand Down

0 comments on commit 119367d

Please sign in to comment.