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