-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecdsa_adaptor.json
56 lines (56 loc) · 5.7 KB
/
ecdsa_adaptor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[
{
"adaptor_sig": "036c2f34833942e6eebb9e01b71c1d5f6ea185e7af607805ab5a39a829ad7a30400220f57f812e043e0f5b5c8c22a5c6efe6f76cdaa71490f7b3a3adb7a39101bf7ad4ee4d049e573adee6647ab7d97445d87c4252d91a627935269e99703a7d4161a5b4e2675d09e0da65deb2ed6210e5e99244153e9600ed17d90f6f31853e2c5ff8680adcbd1393d1ae8eed5cd8a8e396275be95506bf40a20ac22f66ca875bf4",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"public_signing_key": "039b8327d929a0e45285c04d19c9fffbee065c266b701972922d807228120e43f3",
"encryption_key": "039610ffb49f9277936950981d7f701f4bc8c503a876021e36785b4fc475e74b23",
"decryption_key": "da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586",
"signature": "6c2f34833942e6eebb9e01b71c1d5f6ea185e7af607805ab5a39a829ad7a30406d3f7542dd596d236b9c5a39b7f4fc35377cb7ea3015ff4239409fbbacd38e83",
"comment": "plain valid adaptor signature"
},
{
"adaptor_sig" : "022bfcc9af9a7eed20c4dfba1cc123aba41d322810bfdf6c947e2165978c91ab550330c614cdc2871c932e9f2f61eb232aaefd86a684e17606fd28e1de32712b104783bca3991b11611c04ccea3cc332a1ccc66a240f2324604aeab37c667a8a31f90151f459ac09f7563e64e2b986e6910eac97bcce57f39ecaac526f881b018d76a14d3ffdb6155dd2d6ccef638605b760eb44bca239f05200680a216bce013a5e",
"public_signing_key" : "0319f3a68a8070e40ad3d668889210b933f936f40e61b85e2582298407a5956de9",
"encryption_key" : "02b18f464f3c9162cd8cdd4eb1864d605812c95462d40c5e92e7e1c412e5097bdf",
"decryption_key" : "7bfcfd7544b1078dda397cef45df2e6de498746805081ebc8fb90ad04eba9d02",
"signature" : "2bfcc9af9a7eed20c4dfba1cc123aba41d322810bfdf6c947e2165978c91ab55679ea61a6d478c3b597d4cff7f843f2f5a01c18dcdff35bcb7fb11a4393c9e09",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"comment": "the decrypted signature is high so it must be negated first AND the extracted decryption key must be negated"
},
{
"adaptor_sig" : "024288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b203127e25e61da3a9afbb0708eba169c1454f2a12785e3bd371b1a070d37c856b4a5adc9e4e988b4d30470fc94b838ebc202f6bf5fe66805cb957c89275cee34139d05ad315068f38bce87ffe269fed4cfb68438a536e64bda2d6bac695038b2499348a2a6fed030aa94952e36aaf002657e3ad5b1da9a2b90055675468e0011ee5",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"public_signing_key" : "03ef16dd7c75ca40cfeab2aa659f2201e857591df3de67494a4d1dae34587395e6",
"encryption_key" : "0254425b8f73754f16f758937fdab39a04ea61763f9c8b2ba8abe082882ddbf155",
"decryption_key" : "7f82dd63f4f75c33da444b72372be3aa43c0027a076bf9675eb7932695d127a4",
"signature" : "4288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b21321d75e2d155437f4f5b918c9becb327096dd5e72343f39c51565b6110f78be",
"comment" : "valid adaptor signature #2"
},
{
"adaptor_sig" : "024288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b203127e25e61da3a9afbb0708eba169c1454f2a12785e3bd371b1a070d37c856b4aa52361b16774b2cfb8f036b47c7143de8b42e6e848c843826809cc1701530008d05ad315068f38bce87ffe269fed4cfb68438a536e64bda2d6bac695038b2499348a2a6fed030aa94952e36aaf002657e3ad5b1da9a2b90055675468e0011ee5",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"public_signing_key" : "03ef16dd7c75ca40cfeab2aa659f2201e857591df3de67494a4d1dae34587395e6",
"encryption_key" : "0254425b8f73754f16f758937fdab39a04ea61763f9c8b2ba8abe082882ddbf155",
"decryption_key" : "7f82dd63f4f75c33da444b72372be3aa43c0027a076bf9675eb7932695d127a4",
"signature" : "4288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b21321d75e2d155437f4f5b918c9becb327096dd5e72343f39c51565b6110f78be",
"error" : "s_a is the negated and therefore doesn't match R_a"
},
{
"adaptor_sig" : "024288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b203127e25e61da3a9afbb0708eba169c1454f2a12785e3bd371b1a070d37c856b4a5adc9e4e988b4d30470fc94b838ebc202f6bf5fe66805cb957c89275cee34139d05ad315068f38bce87ffe269fed4cfb68438a536e64bda2d6bac695038b2499348a2a6fed030aa94952e36aaf002657e3ad5b1da9a2b90055675468e0011ee5",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"public_signing_key" : "03ef16dd7c75ca40cfeab2aa659f2201e857591df3de67494a4d1dae34587395e6",
"encryption_key" : "0254425b8f73754f16f758937fdab39a04ea61763f9c8b2ba8abe082882ddbf155",
"decryption_key" : "7f82dd63f4f75c33da444b72372be3aa43c0027a076bf9675eb7932695d127a4",
"signature": "bd775c1c2f753d6454659c695f3b3d57701c9f2be4b5dbd1c1997380d2550f8f1321d75e2d155437f4f5b918c9becb327096dd5e72343f39c51565b6110f78be",
"error": "signature R value does not match encrypted signature"
},
{
"adaptor_sig" : "024288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b203127e25e61da3a9afbb0708eba169c1454f2a12785e3bd371b1a070d37c856b4a5adc9e4e988b4d30470fc94b838ebc202f6bf5fe66805cb957c89275cee341390d5c3dbb639fe962d2d6805e49ef1783e89050b5a042dc56e838140ddeb8ef88159937457879ee01b421b86d2117c4d2e56fea1a38eb9cbf77301a2fd6a34c14",
"message_hash": "8131e6f4b45754f2c90bd06688ceeabc0c45055460729928b4eecf11026a9e2d",
"public_signing_key" : "03ef16dd7c75ca40cfeab2aa659f2201e857591df3de67494a4d1dae34587395e6",
"encryption_key" : "0254425b8f73754f16f758937fdab39a04ea61763f9c8b2ba8abe082882ddbf155",
"decryption_key" : "7f82dd63f4f75c33da444b72372be3aa43c0027a076bf9675eb7932695d127a4",
"signature" : "4288a3e3d08ac29bab9a6396a0c4c2a74a923dbaca92c469fe38eb0bfde131b21321d75e2d155437f4f5b918c9becb327096dd5e72343f39c51565b6110f78be",
"error" : "DLEQ proof is wrong"
}
]