Closed JanBobolz closed 2 years ago
One can now instantiate MclBilinearGroup optionally with the "BLS12-381" constructor argument.
This change is backwards compatible (hence the package name is somewhat awkward now) and BN254 is still the default.
If you try to run both groups (BN+BLS) within the same JVM, you'll get an error because we can only initialize either BN or BLS in mcl.
One can now instantiate MclBilinearGroup optionally with the "BLS12-381" constructor argument.
This change is backwards compatible (hence the package name is somewhat awkward now) and BN254 is still the default.
If you try to run both groups (BN+BLS) within the same JVM, you'll get an error because we can only initialize either BN or BLS in mcl.