-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hash_Effect_Updated.postman_collection.json
186 lines (186 loc) · 8.11 KB
/
Hash_Effect_Updated.postman_collection.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"info": {
"_postman_id": "90ea8aca-2fa1-4428-a08c-73641854420e",
"name": "Hash Effect",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "19280891"
},
"item": [
{
"name": "SSS Shares",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://hash-effect.onrender.com/sss/shares",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"sss",
"shares"
]
}
},
"response": []
},
{
"name": "SSS Verify",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"secret\": \"7964530020479313657\",\n \"shares\": [\n {\n \"index\": 1,\n \"value\": {\n \"value\": \"69492a18a52355ad\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 2,\n \"value\": {\n \"value\": \"19c00922840cd569\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 3,\n \"value\": {\n \"value\": \"2af86f02d40cc5e9\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 4,\n \"value\": {\n \"value\": \"43e0cb179d34ab43\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 5,\n \"value\": {\n \"value\": \"15b9d217d86beddc\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 6,\n \"value\": {\n \"value\": \"33106eeed7e41681\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 7,\n \"value\": {\n \"value\": \"672b0b7d49e83559\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 8,\n \"value\": {\n \"value\": \"1e17772155459646\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 9,\n \"value\": {\n \"value\": \"6888173c0f6125a6\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n },\n {\n \"index\": 10,\n \"value\": {\n \"value\": \"4e6b25184d2fb484\",\n \"prime\": \"74d153c9bfec9d0f\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://hash-effect.onrender.com/sss/verify",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"sss",
"verify"
]
}
},
"response": []
},
{
"name": "VSS Share Valid",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://hash-effect.onrender.com/vss/share/valid",
"protocol": "http",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"vss",
"share",
"valid"
]
}
},
"response": []
},
{
"name": "VSS Share Invalid",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://hash-effect.onrender.com/vss/share/invalid",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"vss",
"share",
"invalid"
]
}
},
"response": []
},
{
"name": "VSS Verify",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"share\": {\n \"index\": 3,\n \"value\": {\n \"value\": \"772a0e4184c0c35e\",\n \"prime\": \"7f7352ad6721db4d\"\n }\n },\n \"commitments\": [\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"71feea941e30a860\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"ac7436967fc6de3a\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"80970f47dce53b9a\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"3de1ac9cd4c4cebf\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"fc49ce60c99dd3ea\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"3726fabea0c5da6e\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"ade699aa899d3c79\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"ef5f4b96b282679a\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"c005a4faa65ae8df\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"82979d46fcc5dd1e\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n }\n ],\n \"group\": {\n \"generator\": {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"3\",\n \"prime\": \"fee6a55ace43b69b\"\n }\n },\n \"p\": \"7f7352ad6721db4d\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://hash-effect.onrender.com/vss/verify",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"vss",
"verify"
]
}
},
"response": []
},
{
"name": "Schnorr Sign",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://hash-effect.onrender.com/schnorr/sign",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"schnorr",
"sign"
]
}
},
"response": []
},
{
"name": "Schnorr Verification",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"group\": {\n \"generator\": {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"3\",\n \"prime\": \"d279f5537ea6984b\"\n }\n },\n \"p\": \"693cfaa9bf534c25\"\n },\n \"message\": \"Hash Effect!!!\",\n \"publicKey\": {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"a9168b258145f353\",\n \"prime\": \"d279f5537ea6984b\"\n }\n },\n \"signature\": {\n \"r\": {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"7b8271097331d25f\",\n \"prime\": \"d279f5537ea6984b\"\n }\n },\n \"sigma\": {\n \"value\": \"527cfbcbef24c0f6\",\n \"prime\": \"693cfaa9bf534c25\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://hash-effect.onrender.com/schnorr/verify",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"schnorr",
"verify"
]
}
},
"response": []
}
]
}