Committing

This commit is contained in:
Rumperuu 2018-09-11 08:31:47 +01:00
parent 7e601a25e3
commit cf2bf7de22
4 changed files with 33 additions and 12 deletions

View file

@ -374,7 +374,7 @@ encrypt = function(params,PK, m) {
C2 = ctx.PAIR.G1mul(PK,r);
C2.mul(r);
C2.add(gM);
return{
C1:C1,
C2:C2

View file

@ -20,6 +20,7 @@
"atob": "^2.1.2",
"body-parser": "^1.18.3",
"express": "^4.16.3",
"milagro-crypto-js": "git+https://github.com/milagro-crypto/milagro-crypto-js.git"
"milagro-crypto-js": "git+https://github.com/milagro-crypto/milagro-crypto-js.git",
"npm": "^6.4.1"
}
}