mirror of
https://github.com/lnbook/lnbook
synced 2024-11-04 18:00:26 +00:00
ch-10: mention that the inner HMAC for the final hop is all zeros
This commit is contained in:
parent
47e4018eb4
commit
80624d94c5
@ -383,7 +383,7 @@ For each hop the sender (Alice) repeats the same process:
|
||||
|
||||
1. Alice generates 1300 bytes of filler and fills the 1300-byte onion payload field with this filler.
|
||||
|
||||
1. Alice calculates the HMAC for the hop payload
|
||||
1. Alice calculates the HMAC for the hop payload (zeros for the final hop).
|
||||
|
||||
1. Alice calculates the length of the hop payload + HMAC + space to store the length itself
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user