simple-js-ecdsa
Advanced tools
Comparing version 1.6.2 to 1.6.3
{ | ||
"name": "simple-js-ecdsa", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "easy and light weight ecdsa implementation", | ||
@@ -30,3 +30,3 @@ "main": "./src/index.js", | ||
"bs58": "^4.0.1", | ||
"simple-js-ec-math": "^1.4.0", | ||
"simple-js-ec-math": "^1.5.0", | ||
"simple-js-secp256k1": "github:Azero123/simple-js-secp256k1#master", | ||
@@ -33,0 +33,0 @@ "simple-js-sha2-256": "^1.0.2" |
@@ -55,4 +55,3 @@ const bigInt = require('big-integer') | ||
if (compressed) { | ||
const y2 = secp256k1.modSet.add(secp256k1.modSet.power(x, 3), secp256k1.b) | ||
y = secp256k1.modSet.squareRoots(y2)[mode === '03' ? 1 : 0] | ||
y = secp256k1.xToY(x, mode === '03') | ||
} | ||
@@ -59,0 +58,0 @@ |
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
45939
832
Updatedsimple-js-ec-math@^1.5.0