Browse Source

Exposing babyjub and pruneBuffer

feature/babypbk
Jordi 5 years ago
parent
commit
2f9ad59c3a
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      index.js
  2. +2
    -1
      src/eddsa.js

+ 1
- 0
index.js

@ -1,3 +1,4 @@
exports.smt = require("./src/smt");
exports.eddsa = require("./src/eddsa");
exports.mimc7 = require("./src/mimc7");
exports.babyJub = require("./src/babyjub");

+ 2
- 1
src/eddsa.js

@ -4,7 +4,7 @@ const babyJub = require("./babyjub");
const pedersenHash = require("./pedersenHash").hash;
const mimc7 = require("./mimc7");
const crypto = require("crypto");
exports.cratePrvKey = cratePrvKey;
exports.prv2pub= prv2pub;
exports.sign = sign;
@ -13,6 +13,7 @@ exports.verify = verify;
exports.verifyMiMC = verifyMiMC;
exports.packSignature = packSignature;
exports.unpackSignature = unpackSignature;
exports.pruneBuffer = pruneBuffer;
function cratePrvKey() {

Loading…
Cancel
Save