Browse Source

sec: fix formatting

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
1087ac07de
  1. 24
      src/sec.js

24
src/sec.js

@ -9,32 +9,32 @@ var ECPointFp = ECCurveFp.ECPointFp
// constructor // constructor
function X9ECParameters(curve,g,n,h) { function X9ECParameters(curve,g,n,h) {
this.curve = curve; this.curve = curve
this.g = g; this.g = g
this.n = n; this.n = n
this.h = h; this.h = h
} }
function x9getCurve() { function x9getCurve() {
return this.curve; return this.curve
} }
function x9getG() { function x9getG() {
return this.g; return this.g
} }
function x9getN() { function x9getN() {
return this.n; return this.n
} }
function x9getH() { function x9getH() {
return this.h; return this.h
} }
X9ECParameters.prototype.getCurve = x9getCurve; X9ECParameters.prototype.getCurve = x9getCurve
X9ECParameters.prototype.getG = x9getG; X9ECParameters.prototype.getG = x9getG
X9ECParameters.prototype.getN = x9getN; X9ECParameters.prototype.getN = x9getN
X9ECParameters.prototype.getH = x9getH; X9ECParameters.prototype.getH = x9getH
// ---------------- // ----------------
// SECNamedCurves // SECNamedCurves

Loading…
Cancel
Save