Change to a standard generator for Baby Jub

This commit is contained in:
Jordi Baylina
2019-08-03 12:46:21 +02:00
parent 23616427cd
commit 173c17dedc
21 changed files with 872 additions and 66 deletions

View File

@@ -64,8 +64,8 @@ function generatePoint(S) {
const g = [
bigInt("17777552123799933955779906779655732241715742912184938656739573121738514868268"),
bigInt("2626589144620713026669568689430873010625803728049924121243784502389097019475")];
bigInt("5299619240641551281634865583518297030282874472190772894086521144482721001553"),
bigInt("16950150798460657717958625567821834550301663161624707787222815936182638968203")];
// Sanity check
if (!babyJub.inCurve(g)) {