Socket
Socket
Sign inDemoInstall

bip32

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bip32 - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

13

crypto.js
let createHash = require('create-hash')
let createHmac = require('create-hmac')
let ripemd160
try {
ripemd160 = require('crypto')
.getHashes()
.includes('rmd160')
? 'rmd160'
: 'ripemd160'
} catch (err) {
ripemd160 = 'rmd160'
}
function hash160 (buffer) {
return createHash('rmd160').update(
return createHash(ripemd160).update(
createHash('sha256').update(buffer).digest()

@@ -7,0 +18,0 @@ ).digest()

4

package.json
{
"name": "bip32",
"version": "1.0.2",
"version": "1.0.3",
"description": "A BIP32 compatible library",

@@ -40,3 +40,3 @@ "keywords": [

"author": "Daniel Cousens",
"license": "ISC",
"license": "MIT",
"bugs": {

@@ -43,0 +43,0 @@ "url": "https://github.com/bitcoinjs/bip32/issues"

@@ -20,2 +20,3 @@ # bip32

## LICENSE [ISC](LICENSE)
## LICENSE [MIT](LICENSE)
A derivation (and extraction for modularity) of the `HDWallet`/`HDNode` written and tested by [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) contributors since 2014.

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