We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40ef465 + 8858209 commit dbceaceCopy full SHA for dbceace
README.md
@@ -352,7 +352,7 @@ const blss = bls12_381.shortSignatures;
352
const publicKey2 = blss.getPublicKey(secretKey);
353
const msgp2 = blss.hash(msg, 'BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_');
354
const signature2 = blss.sign(msgp2, secretKey);
355
-const isValid2 = blss.verify(signature2, msgp2, publicKey);
+const isValid2 = blss.verify(signature2, msgp2, publicKey2);
356
console.log({ publicKey2, signature2, isValid2 });
357
358
// Aggregation
0 commit comments