Comparing version 0.10.1 to 0.10.2
@@ -136,3 +136,3 @@ var assert = require('assert'); | ||
this.precomputed = null; | ||
}; | ||
} | ||
@@ -323,3 +323,3 @@ Point.prototype.validate = function validate() { | ||
this.precomputed = null; | ||
}; | ||
} | ||
@@ -356,3 +356,3 @@ JPoint.prototype.toP = function toP() { | ||
// Use .dbl() explicitly | ||
assert(this !== p) | ||
assert(this !== p); | ||
@@ -359,0 +359,0 @@ var pz2 = p.z.montSqr(); |
@@ -41,3 +41,3 @@ var assert = require('assert'); | ||
return crypto.randomBytes(n); | ||
} | ||
}; | ||
} |
@@ -24,3 +24,3 @@ var assert = require('assert'); | ||
msg = msg.replace(/[^a-z0-9]+/ig, ''); | ||
if (msg.length % 2 != 0) | ||
if (msg.length % 2 !== 0) | ||
msg = '0' + msg; | ||
@@ -27,0 +27,0 @@ for (var i = 0; i < msg.length; i += 2) |
{ | ||
"name": "elliptic", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "EC cryptography", | ||
@@ -5,0 +5,0 @@ "main": "lib/elliptic.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1977771