Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eccrypto

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eccrypto - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

index.js

@@ -23,4 +23,3 @@ /**

} else {
console.error(e);
console.error('Reverting to browser version');
console.info('secp256k1 unavailable, reverting to browser version');
return (module.exports = require("./browser"));

@@ -146,3 +145,3 @@ }

msg = pad32(msg);
var sig = secp256k1.signSync(msg, privateKey).signature;
var sig = secp256k1.sign(msg, privateKey).signature;
resolve(secp256k1.signatureExport(sig));

@@ -166,3 +165,3 @@ });

sig = secp256k1.signatureImport(sig);
if (secp256k1.verifySync(msg, sig, publicKey)) {
if (secp256k1.verify(msg, sig, publicKey)) {
resolve(null);

@@ -169,0 +168,0 @@ } else {

{
"name": "eccrypto",
"version": "1.1.1",
"version": "1.1.2",
"description": "JavaScript Elliptic curve cryptography library",

@@ -39,24 +39,24 @@ "main": "index.js",

"devDependencies": {
"browserify": "16.2.3",
"buffer-equal": "0.0.1",
"browserify": "16.5.0",
"buffer-equal": "1.0.0",
"chai": "*",
"jshint": "*",
"karma": "3.1.3",
"karma-browserify": "6.0.0",
"karma-chrome-launcher": "0.2.0",
"karma-cli": "0.1.0",
"karma-firefox-launcher": "0.1.6",
"karma-mocha": "0.2.0",
"karma-mocha-reporter": "1.0.2",
"karma": "4.3.0",
"karma-browserify": "6.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-cli": "2.0.0",
"karma-firefox-launcher": "1.2.0",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.5",
"mocha": "*"
},
"dependencies": {
"acorn": "6.0.0",
"elliptic": "6.0.2",
"es6-promise": "3.0.2",
"nan": "2.11.1"
"acorn": "7.1.0",
"elliptic": "6.5.1",
"es6-promise": "4.2.8",
"nan": "2.14.0"
},
"optionalDependencies": {
"secp256k1": "2.0.4"
"secp256k1": "3.7.1"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc