Commit a5dba58
authored
Randomly pad OHTTP requests (payjoin#715)
Using random padding instead of 0 padding allows for multi-hop OHTTP to
use pre-computed filler strings similarly to Sphinx indistinguishably
from single hop requests which just use random padding.
Making this change now means that if we ever implement multi-hop
requests, their use would not be observable by the directory.1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments