Committing
This commit is contained in:
parent
7e601a25e3
commit
cf2bf7de22
4 changed files with 33 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue