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

eckey

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eckey - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

6

lib/eckey.js

@@ -62,3 +62,7 @@ var crypto = require('crypto')

var sha = crypto.createHash('sha256').update(this.publicKey).digest()
this._pubKeyHash = crypto.createHash('rmd160').update(sha).digest()
try {
this._pubKeyHash = crypto.createHash('rmd160').update(sha).digest()
} catch(e) {
this._pubKeyHash = crypto.createHash('ripemd160').update(sha).digest()
}
return this._pubKeyHash

@@ -65,0 +69,0 @@ }

2

package.json
{
"name": "eckey",
"version": "1.0.0",
"version": "1.0.1",
"description": "Handle private key and public keys associated with elliptic curve cryptography. Used with crypto currencies such as Bitcoin, Litecoin, Dogecoin, etc. Works in both Node.js and the browser.",

@@ -5,0 +5,0 @@ "keywords": [

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