-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHash_Effect.postman_collection.json
163 lines (163 loc) · 7.01 KB
/
Hash_Effect.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
{
"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",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://hash-effect.onrender.com/vss/share",
"protocol": "https",
"host": [
"hash-effect",
"onrender",
"com"
],
"path": [
"vss",
"share"
]
}
},
"response": []
},
{
"name": "VSS Verify",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"share\": {\n \"index\": 1,\n \"value\": {\n \"value\": \"69f781c048e88491\",\n \"prime\": \"6cfb0057f6deb517\"\n }\n },\n \"commitments\": [\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"d60324888291b338\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"755b27bc4ab12b66\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"cbd3d890e3602683\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"d35605f6ea9da890\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"6c8dcdfa4e73df7d\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"9907ceaed3e7f45c\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"70d6baa2338f361b\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n }\n ],\n \"group\": {\n \"generator\": {\n \"tag\": \"prime\",\n \"data\": {\n \"value\": \"2\",\n \"prime\": \"d9f600afedbd6a2f\"\n }\n },\n \"p\": \"6cfb0057f6deb517\"\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\": \"2\",\n \"prime\": \"ef920e5b0eebb977\"\n }\n },\n \"p\": \"77c9072d8775dcbb\"\n },\n \"message\": \"Hash Effect!!!\",\n \"publicKey\": {\n \"value\": \"63ab54896024d05c\",\n \"prime\": \"ef920e5b0eebb977\"\n },\n \"signature\": {\n \"R\": {\n \"value\": \"33d3fa50cbe7dd26\",\n \"prime\": \"ef920e5b0eebb977\"\n },\n \"Sigma\": {\n \"value\": \"704ba8d8871c772\",\n \"prime\": \"77c9072d8775dcbb\"\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": []
}
]
}