Closed domwoe closed 1 year ago
Sorry for the late response.
You call blsSetETHserialization(1);
once after calling blsInit
.
And you may have to call mclBnG1_setDst
.
mclBnG1_setDst is not provided for C#/WASM, so I'll append it later. What generator ofG2 is?
It works when initialized as follows. https://github.com/herumi/bls/commit/57b8da02bfc7883f5f09c7dea6c39dd55e55e234
Thanks a lot, @herumi. Do you know if the C# and Go wrappers provide everything that is needed?
Now I've added a sample for C#. https://github.com/herumi/bls/commit/88defaabc6eb471b933b67af091dd2834541e097
I've added a sample for Go. https://github.com/herumi/bls-go-binary/commit/d496a2684849e627d4f1c0a0a138159c1ac30ac0
The Wasm version.
Thank you! I have been working with @domwoe and I have confirmed that this solution works
Thank you a lot @herumi!
we are trying to verify a BLS signature from the Internet Computer with herumi/bls using the C# and JS/WASM wrappers. See the links for example projects/tests.
However, deserialization of the public key and signature fails.
In the code of a Rust verification library to verify BLS signatures from the Internet Computer, there's the following comment:
Is there any way to verify these signatures with herumi?