Closed wemeetagain closed 5 years ago
I do not expose mapToG1 because it is necessary to expose Fp, too.
How about bytesToG1(G1& P, const void *buf, size_t bufSize);
which means Fp x; x.setArrayMask(buf, bufSize); mapTo(P, x);
?
Yes, this would be great!
We would be happy to serialize our own Fp, Fp2 to arrayBuffer
/Uint8Array
and use bytesToG1
, bytesToG2
.
:heart_eyes: :heart_eyes: thank you so much! This will help us immensely.
It would be useful to use our own hashing scheme and use
mapToG2
directly as in this exampleCurrently impossible in wasm build as
mapToG1
,mapToG2
,Fp
,Fp2
, etc. are not exposed.