Commit a800c9f
committed
sphinx: add route blinding helper methods to Router
In this commit, DecryptBlindHopData and NextEphemeral methods are added
to Router which makes use of the Router's onion key in order to unblind
blinded data and compute the next ephermal key respectively.1 parent b1469b8 commit a800c9f
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
614 | 630 | | |
615 | 631 | | |
616 | 632 | | |
| |||
0 commit comments