You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1049,7 +1049,7 @@ check if the value is between -200 and 50, the verifier should ask the prover to
1049
1049
numbers, convert them to integers by multiplying with a number to make it integer, like if a decimal value can have maximum of 3 decimal places, they should be
1050
1050
multiplied by 1000. The [test](./tests/composite-proofs/bound-check.spec.ts) mentioned above shows these scenarios.
1051
1051
The conversions defined in the above tests are abstracted in this [Encoders](./src/bbs-plus/encoder.ts) class and you can see the usage
1052
-
in [these tests](./tests/composite-proofs/sign-verify-js-obj.spec.ts).
1052
+
in [these tests](tests/composite-proofs/msg-js-obj/bound-check.spec.ts).
1053
1053
1054
1054
1055
1055
For this, the verifier needs to first create the setup parameters which he then shares with the prover. Note that the
@@ -1228,4 +1228,4 @@ For complete example, see [these tests](./tests/composite-proofs/bound-check.spe
1228
1228
### Working with messages as JS objects
1229
1229
1230
1230
The above interfaces have been found to be a bit difficult to work with when signing messages that are represented as JS objects.
1231
-
[Here](./src/sign-verify-js-objs.ts) are some [utilities](./src/bbs-plus/encoder.ts) to make this task a bit easier. [These tests](./tests/composite-proofs/sign-verify-js-obj.spec.ts) contain plenty of examples.
1231
+
[Here](./src/sign-verify-js-objs.ts) are some [utilities](./src/bbs-plus/encoder.ts) to make this task a bit easier. [These tests](tests/composite-proofs/msg-js-obj) contain plenty of examples.
0 commit comments