Added QR codes to ballot selection, and a couple other minor chchanges

This commit is contained in:
Rumperuu 2018-07-23 14:08:17 +01:00
parent 4f1bf927bb
commit 77508479b4
9 changed files with 81 additions and 43 deletions

View file

@ -1,5 +1,5 @@
{
"name": "Node DEMOS2 Cryptography Server",
"name": "node-demos2-cryptography-server",
"version": "1.0.0",
"description": "Exposes Cryptographic Functionality from Various Endpoints",
"main": "index.js",

View file

@ -35,6 +35,7 @@ gpGen = function(){
B.rcopy(ctx.ROM_CURVE.CURVE_Pyb);
var Qy=new ctx.FP2(0); Qy.bset(A,B);
var Q=new ctx.ECP2();
var Q=new ctx.ECP2();
Q.setxy(Qy,Qy);
return{