Skip to content

Commit

Permalink
Merge pull request #57 from ellemouton/routeBlinding
Browse files Browse the repository at this point in the history
multi: Route blinding
  • Loading branch information
Roasbeef authored Aug 23, 2023
2 parents ca23184 + f971c75 commit 06182b1
Show file tree
Hide file tree
Showing 23 changed files with 1,898 additions and 495 deletions.
6 changes: 4 additions & 2 deletions bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func BenchmarkPathPacketConstruction(b *testing.B) {
}
copy(hopData.NextAddress[:], bytes.Repeat([]byte{byte(i)}, 8))

hopPayload, err := NewHopPayload(&hopData, nil)
hopPayload, err := NewLegacyHopPayload(&hopData)
if err != nil {
b.Fatalf("unable to create new hop payload: %v", err)
}
Expand Down Expand Up @@ -77,7 +77,9 @@ func BenchmarkProcessPacket(b *testing.B) {
pkt *ProcessedPacket
)
for i := 0; i < b.N; i++ {
pkt, err = path[0].ProcessOnionPacket(sphinxPacket, nil, uint32(i))
pkt, err = path[0].ProcessOnionPacket(
sphinxPacket, nil, uint32(i),
)
if err != nil {
b.Fatalf("unable to process packet %d: %v", i, err)
}
Expand Down
26 changes: 26 additions & 0 deletions cmd/example-data/hop-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"session_key": "4141414141414141414141414141414141414141414141414141414141414141",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"hops": [
{
"pubkey": "02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619",
"payload": "1202023a98040205dc06080000000000000001"
},
{
"pubkey": "0324653eac434488002cc06bbfb7f10fe18991e35f9fe4302dbea6d2353dc0ab1c",
"payload": "52020236b00402057806080000000000000002fd02013c0102030405060708090a0b0c0d0e0f0102030405060708090a0b0c0d0e0f0102030405060708090a0b0c0d0e0f0102030405060708090a0b0c0d0e0f"
},
{
"pubkey": "027f31ebc5462c1fdce1b737ecff52d37d75dea43ce11c74d25aa297165faa2007",
"payload": "12020230d4040204e206080000000000000003"
},
{
"pubkey": "032c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991",
"payload": "1202022710040203e806080000000000000004"
},
{
"pubkey": "02edabbd16b41c8371b92ef2f04c1185b4f03b6dcd52ba9b78d9d7c89c8f221145",
"payload": "fd011002022710040203e8082224a33562c54507a9334e79f0dc4f17d407e6d7c61f0e2f3d0d38599502f617042710fd012de02a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a"
}
]
}
6 changes: 6 additions & 0 deletions cmd/example-data/onion-blinded.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"session_key": "4343434343434343434343434343434343434343434343434343434343434343",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"blinding_point": "034e09f450a80c3d252b258aba0a61215bf60dda3b0dc78ffb0736ea1259dfd8a0",
"onion": "000288b48876fb0dc0d7375233ccaf2910dc0dc81ba52e5a7906f00d75e0d58dbd4bb7c2714870529410735f0951e72cbe981e2e167c0d8f3de33a36e39e78465aea2acad1e23c78b6fd342d63e37d214c912b4a0be344618f779138edc1b42a5ca3218ca2fea4be427f6cd0d387160db2bf6c2ba8e82941c8cf3626bd6bed7187f633012ef49df38f6b12963cb639e9eed1b9d269dcebcbd0b25287aa536ec85e7320b02e193122199a745ccbaaebd37f5d4b71f52f9b50feeb793eeef56924a046bc5e7003f6253e0284a8d3fe2e42c3564050f1e753cd32cc258ac0ffa6e05eecad5ba1286f78252e60dd884a65405ab673a85ba52adfa65c1086d4bb37ba2e0848adb2b04379775ad798492b14e8997f30ffa9cf5d432bdf5b246fce008fd876399beed827db58195f4f6192f6ff4ec63cb17fdcb497cb7aec26846a71dd8dca02fc3bb14dd7231a4d62a981bec54b71eb20331096dfa214a0ff4489ee96db663826ae8c850e9f06baa52a47b8eb576363f97e742aab2dc616acc6e74588e1d2ac16694febc90abaf5b1c684163c0e615a68d32633f01934adc8c6bf91fa3fd7aad033b7596d60402494e45e2c1632c40f7bfbd88a81a896a1d28ed6338c83e1eeaa467945d59998eb456c95f94bf1892e8f326ec2d5e0196b7073f106febc6ab8ca5bcc23f77ffc819bc1b5debce418ccc7d8391bbf33bceee6110beba170121bd99f54c956e64970bdab31227b03ee0ea3f01fbd9bd74015f6f82d04fab072e8f85f4370d09f41ee3e48eb959767bd989abb4eea42c4daa0437a7f747d7f9b70eb87b9f9b0b6f283b8205912601a432999b8869fd9fe5bad3572edac24da7184f9298f21ff60923db277264d29c846dd2f228f6fc53b6b60364237de64773f803f174ed10229c374f603ccc5fd3a62cb413ffe6f5630dc646bb33f231b2350537ec39e5d3f2fe1a1cb019ed0b18ad14019cad27afcca8ad70387ca110394c0432774f1aa1fa404b2e086c84a55388d3bd102501c78ef925cce89d76fa04c3f20f2d1f0ce507ac8b37b7913e3949ba12bbc5a4f6bac37c2415622d365bc8b83709a28e3d46f3850c89a3ff4d027fef6e3e4ce5c6c85f663c7eaec3c9730106fb82f53249a905533cfabee812aae51965b24b42f7ab471967bc8e73354e69141ee26a1f03684d5fb9c256a34de8257210e0390dd3962db521ae0a3bdab28300610ab2a634b699e5f092da5a061609ef6414bd805c8171f54ad6f285fb64ce0becca0b61188badcf8ef21190dad629e3fb3e89f55ebba829919540ebf5f8ae4283836d3c9133c1ca3365f6b9394916730411650686e0c2ab9c53b6cda9efdd5cfcb53ba9b6962bb6aa49d0a83a87460b60a9c7d2643ee99afe652883795f14014ec5df61b1e30c041c1fa6487f3c82f1ded5f83ffbef5017e197b7fb77be3b36e284a15e57d45bf9316dcaf97eb78ee4642b731ba05c5063bce1333fab4af6da97c80a96ee599b4df823efbedc250c0abba9783da7ddf2414b2a4774ff2880a7dc6791103e18b8631e39743cf9e87aed71700daa5dc72fdae520324741f92ea3d510ff555dea5e45f15cda87272d4559a12d4777680acb06993840e3c748da82c16cae556015fb2acd0335da11a3388575394048ab71199793ab706abc9d68add2075d79a5cc0f779845ee8b98951be61fd293d6c15b9d4653935bf17cf50bd31f8b79e60dba0e7fd6864754fd94262485a4f65e7eb3e1922f51b1a4dd2b4fd2c20d94d1213fbe90bd603dfc7e15176382e3ce0f43f980d44d23bf3c57f54a15f42c171a8f2511e28ac178c6f01396e50397a57ffb09c5e6c315bd3ae7983577c1a0386c6d5d9a2223438e321b0fedfdee58fa452d57dc11a256834bb49ac9deeec88e4bf563c7340f44a240caec941c7e50f09cf"
}
6 changes: 6 additions & 0 deletions cmd/example-data/onion-blinded2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"session_key": "4444444444444444444444444444444444444444444444444444444444444444",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"blinding_point": "031b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f",
"onion": "0003f25471c0f2ff549a7fd7859100306bb6c294c209f34c77f782897f184b967c498efc246bdb8e060a6d1cf8dd0d4d732e33311fb96c9e9f1274005fa3d08b41704a1b7224c6300a7caead7baa0a8263eba2e0de6956ee8e4a1958264f47e4cf20d194eb576f5bd249ee4fece563f80fd76dc3eaca8f956188406d83195752b5c90c4b2a5e7ac3a8d5c62b17b551aff48ef6842a7e9326832c9a4a2fd415011150a9e71beb901fd9747bac8add1c694b612730dc86b5b19a0bbbc675947a953316e3303d7b30c182f94def9206671edac9a3ec3e52d28fc28247a1c73ab751bf61c82c3950f617e758f79bd0ba294defb20466eaf1e801462046baad3aec3e5b8868a7b037f23d73a47a7e74c77107334f37388cff863e452820c61d89728fa75c84bc7cdfc06dcdd1911f5f803353926d073efd65251380e174913aae03318ea5b6f0ec83998c55ab99bef62803ea2da9f6d1ea892b90efc4f8ffb685a5201a781da2e6ac5923645638c9709ae32171a00c0cd3d8c7eedfb06b4eedc7d3e566987e2e3805a038f21d78ded5d6c7137a5e8e592f3180ee4d5f4e1289176f67fc38690d0958bc82e240b72b10577f340f1e14b8633f0b6d9729ff4618be2a972400a015a871ba33be70335f652a8d70f2bd32421d6ac2af781d667dad787d6aef4505a15d046579e46eebe757444cffca6d0610f0dd36a7ce57af969bd0c3f7006298ef406a25f689daf58f875d44d2423ebf195b503f11c37c506ea6abe50a463f7bb5e9b964604d832724de768513f6b38bf71715e1feea8a6e86797788d487146891564919da1372016ed8f08c7fcbff66a4a65a3d0fcd8e3daac6eba41f5d65ef2d8075364a9e78b3a273549f6eac4abb72e912e237990367e0d43e89945f8ac3907be5a6c662139485a50cb5ce3f0ba08586c39f6c515368ec3f91b72295f1b7a73a9df322ae9a45d363d6c616be3300083764cbdee31221f25a318f095feacb09f957c96db30fccca47a0215b576c3ed925a0bad05d6400abe318c11f36628c387a4ee38832182cd44b3cd48e5422c1f1e3b57218dfe72c611f5415127720e60f6e2400607e61841b76de1704bcbeb0daf1377ccb2253916de2b6d490bb71ba0a44fea2e94f2423d723934557d5905e01b2b80232a884e258d46dc92ea11e0818d0ece5b914f02049866e151801ab8c9aea155479b354dc91151fb9ba43277458f9760dd859faaa139e3b9ab36a1dbc36a93ef2c90598b20cb30ef3c4f23a2d6178b4d1da668fb328a25d84d30a132d9f2a6a988cbe2e5c2be01cb6db4b4725a50d6cdacf5fb083e7d650a25bec1407fbc047d26076c7596429a29606ad527e97ef0824ad6c1b05831a3e5b71c63a528918a3301cdd4061fc1fcce3da601961f2602a2b002ac8404125c2d52666263858a923e197efcda873c32d86897352e4f2264ad6a1b48acc0fe78ff55cb442cb2bb5fa2880810e1d00aa0247057fb80b7ed36cf9647af41b44ee4a63ee2d6f652526404572520a7d2d9dcde4e62df0c3be89f8471550594cdd16a51a9cacc58729c092c68506162fe65edc2314055d389f724ced189d826a546b5c4d08a43d977b3cf033de5760b71a7cc38ee5851592031aafb467a89b3b6c7ed67b15d44c48d6baedce3e95e08ec7c55038f3eba90ccb900895734f0fb7efe54961ce493369cc56416898a9bed7c2482871c15a7f1eb5ed17c33657fc31333539c2dfb59461af09e7049228113b5c9feea5a6e9959c18c51b19c90995afb9c76f2c0c820964cd7989c993a73925818a656c6a18dcd1a1e3782b2eae06dd5a41250ec2d1c203626ab9920c1673339eff04b1eb0cab85ef5909f571f9b83cdf21697c9f5cfa1c76e7bca955510e2126b3bb989a4ac21cf948f965e48bc363d2997437797b4f770e8b65"
}
6 changes: 6 additions & 0 deletions cmd/example-data/onion-blinded3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"session_key": "4545454545454545454545454545454545454545454545454545454545454545",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"blinding_point": "03e09038ee76e50f444b19abf0a555e8697e035f62937168b80adf0931b31ce52a",
"onion": "0002ef43c4dfe9aee14248c445406ac7980474ce106c504d9025f57963739130adfd06eb26201baee8866af2d1b7a7ab26595349dad002af0590193aaa8f400ab394f5994ec831aeeecb64421c566e3556cbdd7e7e50deb1fc49fd5e007308ab6494415514abff978899623f9b6065ca1e243bb78170118e8b8c8b53b750b59cc1ec017d167adbb3aabab7c2d84fbf94f5d827239f4c2b9d2c3cfe68fe5641f25e386202a4b6edff2a71e700229df7230c8ca31bd5588f04799e9640c9c20a47cba713f3cc5ad3202e14bb520880f2a8409d8e7835cae21b48a651c2d47fe6af785889ab98f1416f6e4ad67a66ae681e9a8828bad3f9b6890221c4a7ec80531d6b63eb30843f613ce644795bc8bcee60e8f7b36f3fd04de762f103c52efaf36a2f3bbbaac482d6271dc4180c10bcc076c04d06ea7fd8fb6a647e0e10523b05da2d89e4139fb55c2315cd01bdcbd57587fef8442d7ff5620630fd2d2e79739d90be811bf2cba60415d6cba2cea14ba1859f3122cd905c4e12e3e2a1ab6fab54b2ec40e434626e2d3c3195c02c82a8bd64d226c2328ac72ca12197d9908eaf54333717448ce6ed73adc0ac05e2ee1d735131d87918beb8995993dc8f63fe10f2c8eba2be7ab8bb44d9f78f59ef3e4c180bd75e4eef2381450c6f0480d543997305f1d07815993b5aca8d88d474966d9abec93bb069a16aa2da75b87f94576e01d08a17d3e0e3d0370f010733a7d7affb12cdf94c259a62607fce71003535c4727305de5ff7bba3840922844b3a45f62c29715fccf440517ef121450f6962396fba9b07036d085582405dcae6ee95964b66bc7c85b8d02d90091500db3cebf6de584f86b7b55335a8c9aa26381b00747f055cc458a2cadfccf9c29702bf941447beaca6583cca09492a57d4b03b2ca00dbaf41dfd6a9b249381626a7debe475735a7e39e77a363eccf14669046f656cc09ad448da8d8b545e6a604f46dc481786d09a94c63cf23f49ba367d2929466364dbce2a8ffce3dadf8f4cef8a56e1fefa1a3304a953fe83018e57d8a95694b02d994fea2630a9a3d5f1e2f6d6142d503ec4152871f7122d7e566a03261f554639e7a759e0e73846f71d5cace37d91336fc9ca9396bf64ca2cf45fa2db779b3b5c63b04f1c0c1fb79fdfcf5a82b0202df934ae1720a7ce1e047cbec3f82737b50168c974f4623cacce87e3f5bd5232caca7956d28ffedcf11ac5998662c5f6b13c6126584ca2e894d3fcbad4d130bbe22e88a135e0020cdd43853e0b3af3800e9544854d211e873cf68ab683578d501d69ec5dc7fce42ac436d58243880c1b88227b0681c6c9dd8a8ad0793202b15ab63b787b748e258da3e68d0e649fc4ac081a71de8adbc891c113d5f722686b6ac4ed9e3cc247bc4a4643416f480627e9de20f7307f434a499f5c6951c2e8b3ff51d455bf65ceb5ee3dee47b968ac2642e13d8a68f903b73627c2e75788fecca5836371a908eea4f1ea44db2315bc185f77e478efeaaa4da2da13fe7aeaa79ed1d04876a8b2b7b333c5de8c4c9a50274c2eb7b9bd2a3630c57173174781fc9785235f830cefa1c82080eaffdef257f18eedc9ddfd25a696a11a3dc56cd836be72f5f4a2cbb6316d5d3b1ad91a7ec7d877f28d2c29a5525b0b24362699281b0e3b48f38caf1085045fe9089f9e6fb29e4b47aa4cecf68c9bf72073469bd9beeea5e88bfe554cb6a81231149ba7fe7784c154fd8b0f9179ecdf1e9fd5c2939ec1ab16df9cbe9359101ebce933d4f65d3f66f87afaecfe9c046b52f4878b6c430329df7bd879fba8864fcbd9b782bf545734699b9b5a66b466dcedc0c9368803b5b0f1232950cef398ad3e057a5db964bd3e5c8a5717b30b41601a4f11ad63afe404cb6f1e8ea5fd7a8e085b65ca5136146febf4d47928dcc9a9e0"
}
5 changes: 5 additions & 0 deletions cmd/example-data/onion.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"session_key": "4141414141414141414141414141414141414141414141414141414141414141",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"onion": "0002eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619f6e34152f83f6bc03769e265421e9615471ab9e10bace8e7b7eb4f846df42abb9a31b9d8a0b0b009cbf93fd14da6a1a6cb448b57cf9783025943e97407e52d8783f7b8854ad661941ceb446b5fe5814c7353354282f4cc3c47a3c8a9b75e4f436fbd25df99e608c4e53f76d752f4bd077dc62660f59edcdb55949856ea1ae07ccece645e2d2f995d95cecc6bf796d1208573ae0985bba253883e9cfdc62be6865829435c732e9c2d793c8c036d23248a4aa15024ca3bb960425a83b91ccd60c6e68d3c6a5bdd96832f8757fb39b26a6c3065a2f7e98b3f594ab5afd95286dd54658df649c500a3db88456999ecb3a8c8746082b191ced3571b88a1a16972bfc25fa2dbde775bb8e6299356e51a862eedd28c574e202668f134337374908c24f145ca0112deda44d020bdfc6e6d0ca5ee863f5ae79c849b0e34801fc785a3348e658abe57fd07a87525b5061f2afc5f0726754d2f97243fe36aef1e0c9fbcd41157f482d9c3348fae5a055ce2218f50f1a7e804451cd5ed55b36e3f72306b4b62fa1b31682ccb3c90ea24a33465da7c414fa022ce9c83b4e47c112f7dcf377282b148a02298d08d0ab5a560ba883452acfbd120be623e169dd7cc7d4dd1441074b21d33d4522c17c381f26084d811c612a337a47d44c9023867869f09da5b4ffd29c1674e8689e542f45cc864710a97073cd7b18039515425e66109b38a3a9ca6a14bab3e6e8c1dc5d28324f4920745d0a162644193f87011eb0edf5cb977508c943043d93f7dedf81a366ef6467df908decf4e55236171d17c6fe6995a982fefaa13a43be1ba5a9399be638b01864685b94e1e5e340e9444c11dbdf47681839d7134a9e498b5f53cc062682661d47ddde6a86e76eb0db9fdf1142f0bf4c30e512360967a3f3fd4c770b00d15236e52cb807769c770f3246be54563e57b3a243315d39aafff336c6883c23e2caa8405aec3129187f9f810f76e9bcabd5e93af911a88396f77d41b0b3ae2b3ce0884a0a34434577a48cf332bf844eac35493e33e423780a3c70376fc2c9ac8c403c568424e7691f35c48d1f28f37dd7da0b7168534ad819e14f7a09292b077e69e2edae9b73f40b8ad2ac116665465ec142c79594ec5169a890b3de310b26d38e77268a067c7c621b428e986b51a05aa9f2e8a8d88cfc3fd097e96f4aeb08b9de518e42f543c85a8827e55f59efddcd0b0a024fa44ed0617cc582e33555c5e503f2853754f6bc66339d007d8d9292387275e44d04af368baf56eb88ab9dae9ba9b79400aed0457ab277411a534e330ac8c5822f9c7fb50c05c34c43c4e7e38138bad20cb2142ae067b344d243c84fb4f37ce68111292dc40a2f5e99090e8929cf2cb5796d3c67c2b9dc49517a9d47617ed2962bb8aba03e022ef4fb68932ebeefc7341089294caa6e03a64e552897f8e7a60fc7b841a31a7d120fa64109f5f72cf20f96086cea8bdfc5646adecb547b85ca3c414860f674143fa1608e84393e99214f970ba2208ddd32ca8ee0c5d64d8de5ace4e9e47e9f6fb782eb7b6512c9a2740dcb086e82f4068d2677e866b9bc5e744d14e480268b10cdfb8c784c5ff1bdf9f3dd453e76b98694f0910bf81d57752421354823efc5caa5066ea9e63d4834149b1076f0eee0283a5539ec78421730190535e333ea062e0abf244ccd9ae1ce9c0dd856b37d6e3224f6fe4fe01bbd8d568605827bb6a4148b4554593cf173899714495ec3d19e939bd69fa5a259edca0aff4a34e2381d74a62e6277ee869a9f17131be3c7a24e684f129ad7fc746b7f4cbda16d7e36915c8a69177dc8e33390caf159c1f06aa75390e72db37d6cd0d88214e7e929e8ac5f7362be1eb1f2ce6139fd104eccef828"
}
5 changes: 5 additions & 0 deletions cmd/example-data/onion2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"session_key": "4242424242424242424242424242424242424242424242424242424242424242",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"onion": "00028f9438bfbf7feac2e108d677e3a82da596be706cc1cf342b75c7b7e22bf4e6e25017528605ca89bc5823fc2ff825f3a9ae4f431d927817917965078c79bb82b59ab4974eea9bc47204d2caa345bd67a12d5bb56c19eb5d93227e23fa995ad13342c067e3ce6cd55d11ef65ec2bde846a7a0598b99c0dc552157271b069bb323e9d9b0d076850d6288f76a8de29aac690d66fd97f994472dc456cf8a68f6120ef6821d3ed092dd1e4c704c93a4f3fcef0f78a156da42a80f2c1ae19935030ce0507e905a93900079ecb2a1c9e233a92be8e97a557f063a59c95cae29c791ad7550f62f5f1888be1b247e6d55a6de26b136c2896d6758314108a429c82c683968493c807933d6b93e30f09c92e1da6401e3af4d774f775ff84b9536192720637cfdab6aa434c1e6c08baf075a8a3b55c13fb9a36ff59fa9ef8cfcca35fa811c3db716509aaeb5a2979dd6933b5fd5fefec35ebf294c779fbf700bac91fa52cdfaf511265354dd0225b15f72fd761280297f620866fa45f92f61fededb7f024a89643ffdd5f57097daf6202091ba8b77ac7e862f0cdbc5ec03daf0968e11237860004e572e26164ace8d2f7e4f50ce6a5a008934b072749c07358c4016738a994476ea215d3623079692e9f3b68b470e4af4c6985a397ceef8a7ac09490b6f43c440c7f83413c1c468d5f09e3cba23d74c94899a32b382dcb8d3994a16c1e7aa9c5b7135b7b3cfde277f68a0e2c1742a53422e5acaac5218eba290ead01561893c2bd6375f5dd0c24e84f820ab6ccaddae5159b3d2b6372c5b865117f3f003b6ceab16b189a8183e0be79e4bc872825bdf2ac56278ac7f971121c221245c6dd31a3fc04945393ef0880ff6cc22bf5e261e8240591997cd3648da417b0a4842fdadc8f24c08e5af67aa19335343830805919e9d4378900eae26fa5e21d7b9fc54111d2410625004f7baa9afc0d0f1099156db4b43bb87074c5e3beac5a97d4b6d9b84f565186792a18cdf42f44b1f080770d1a4f311f597c8a50d29497414641a1c031a2b561cf347f0a907b0af8d8fdc843ae762880af61e64cef17d7aa13a0f72a0ef0b19489f2a90167dc7795a4dd02c5358fafb05945d86ad638d04d2b8ed8189ec5d299b6f17cedd307c1cf6a2462af84dcf2a404e9a7279bbacab908685a587f118a232bd646dfefd60addbfe36a2b1f7e8ff949052d8ea4c0d236d01bee53962eb718ede8a94ff29cb5e58397d7d32b3e6e63220461539858fa8ed0930463df4277b569c6ca579649c8db11d5a631a0000e722ebd657afc973086bb06dc8a73f6464728b6884e950a68b60c86f88184dd260fda8f0b962c417595632bc547fd46417092a77fdabfedd190882f1e52d48323c4345e9542d723f930a253967923ec8d27e71bbbd0af9aa31544c0b4d6da5eef06be3c3c9049457a371712fff06626f4480e0cd082e933104f12dd23bd01ac8464b21623f542b85b6f5fdbc1daba3318c8dc9803506e666dbe13f7424f0279273a687fe89a1228608c249c5abfee75ac742db27ed68b19312a99651ce947fa98e3945e4f3bdb449c2eec79e9efb746731a0f5d5a1974bec7f60d872e207ef2905ba044ba5118ea2f1b116e1dc1aff9975a3eeff8f2ec5b0d72459bb7af222e586869a87fff3da331520a7d34c4fd58c090bb31e00f1309af259ddee14b94473e4517785d673d79a6e71b3e6ee3fc887ace2ab48c19744b0a3b302fa6613a23c0b18bc35a8dad53a6cbe62f23cf1773414331bd6e99beab684b6ccb839dbf0397e85d106e243d760197a364d586989115ade30d309374fea8435815418038534d12e4ffe88b91406a71d89d5a083e3b8224d86b2be11be32169afb04b9ea997854bb72493084f22105fea7b5181eb70fce6ff3d92bffee12f7f19ba453f6bdfc1ca"
}
5 changes: 5 additions & 0 deletions cmd/example-data/onion3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"session_key": "4343434343434343434343434343434343434343434343434343434343434343",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242",
"onion": "0003bfd8225241ea71cd0843db7709f4c222f62ff2d4516fd38b39914ab6b83e0da0f13ca6418876711541d1adcd84fae578e80ed4c2aba02acbf1fb3716fd7345e78c0affb24613c2ad822bc7c0e1ea8c9aecfe8305ab1400421c900edf4b4d461df181853cf77799945528b4f40ae3f98ec572ffdffd5d8962bf4d4d8c5780529991c9de9b33176841e7613250616146452e0158206106731b6d1f98cc91bfbd109db6dccf8fb141ee350a99ba0889f011eab62b4b65fa65e2f44d0d5f9adb851e633e3d3654fff80067e594efb67123b5f7343244aff9d457efbad718af0ed16a8788870e3e7b8fde17ef27719e1ddd41e4335c5dcbd14615753b165ac992b9fac7df34ed13bcdbff085d9ec2edec3149307be22ce1b6da70303906139e39840d837ab6d8dd335eb66523637bdeb2b446170cb02994f96d3639b2bc66f1eb46f6c614b70ce6e7f539fb1fe2278035e409fe9f8797bb6fc3604b58c835725bd4e48689e224ff784c6678e54fba9701609b7d3157ea05a7dfb6092b97c362ddca2101f3c1c953a5ef92037d268c0c94ef5f5c082748fd068f2a5b8b8a4c130687591577ddf3d864665a5aded674c33a370e1dda6be247b1ad2885f06c10dc9c1784c869445a7cd0ce5aee125bde1958d11ed3aaa10fdd00d490a58441ed7cc0bfd79d82075929f3b9b93f1f9f61b472c4864787c770a908332b494dac06496d0589d13f61e57b291eb52d70b0f0d431714f842f41b291e469a57989329ea9ac50ae903f51395a51ef554cf4c2cda103f01ca0cde08ed2ad721a25e303bc33d66ebab2d43710378a7e9c5dc211786983f3fc845806f4beaee5833a6b0182396c740285037cce48be4b9552280c3dce3e6f0770f0f2139567441c6d311523632b11348a22cb8c3622acbfb0febc38bebc0d2d260998c13dacb9c90ae1740515f1b21cb6ed53dc0c0aa239f4fc6fde90fc89ec7ab7a113d8ceddfcd3bfe6406a9998b66ce144530b39165e3f05106b85ad99cfcf36fc55abf48cbf388d3331c9961ea20484b72d8d2f831cfb9dbea5c63512c3abbca4148fa238304f698142983777e8cb7806380e37c2c71888bf7bbd8bf1ada837acf18388db21666abfbb6e386dbbcd454a09f0c3ab94ca1b48d9d3b0d7c394f1ce89bb048f9ec3a62c9534262fa989b68719f6b4653c4609614d606030b39d4aca551078b302f1dc0b4fabb1bc9d11f8b3950044cd64befb42075f84337288859bb2e575c8ee0285daf7b2fdb35da2e764e7ea05d30b63e534050fea7111f4712f82e62e9e811c43f1ca0a232e86edc874a0498320bebf60c5dc413f5a7d2a54cd59f0383ca3123ebe51af4e507b8588c23b276813e893ec65aeb795c8b9dc4185acb2cb91fdf39955e55fdeb1865f4192f8fba589fe2cef5c934ab80716d0d3e7e1869d06735a457508b88c795aae03f1b38b4aa3ff36cd20284318048d5fb2ec47ec999a2512ec6dbdfce24276c12ee6bc41eb8e0f53c193a02b1882fe5b4ce61dba6727180bd9ce65a718b8d40471344e8e2a90008d2ebcb65c8cbd6b30c7f8ee57c27460113b29b5c0c1e0bc12a26d2251998ee146235d361579124164b7566d9218dc116f50fab939715074bba73a8cb953e171c187c70022364e140c704a78f93085577f27bf41f9e02f55c155ec186133cfa8b1dd40cd4c773e735a8f15291fccc8c4f55bdcc8ba563004597b5b3de5d54be23671bc9477805ba10d03afb0715782845d2ab45df012f6644207cc5fa4739aa3eaf6bf84e790128aa08aede33bf30c6be2b264b33fac566209e73715a254047517e6aa05e31afb8bd076a3e56fb1c5bbc5dd44f6f095d7f927939ab97b6899cb7bd8bbc5610db5e2556a698c01ffaeda20c8daf398a339af8e2ba28d4b14eb916b64a91a09113431f38193d0"
}
Loading

0 comments on commit 06182b1

Please sign in to comment.