Socket
Socket
Sign inDemoInstall

metrohash

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metrohash - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

10

package.json
{
"name": "metrohash",
"version": "2.3.0",
"version": "2.4.0",
"description": "Node.js bindings for MetroHash hashing library",

@@ -16,10 +16,10 @@ "scripts": {

"dependencies": {
"bindings": "^1.2.1",
"nan": "^2.5.0",
"node-gyp": "^3.4.0"
"bindings": "^1.3.0",
"nan": "^2.10.0",
"node-gyp": "^3.6.2"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
"mocha": "^5.1.1"
}
}
# node-metrohash
Wrapper around [MetroHash](https://github.com/jandrewrogers/MetroHash).
[![Build Status](https://travis-ci.org/robertklep/node-metrohash.svg)](https://travis-ci.org/robertklep/node-metrohash)

@@ -33,2 +33,4 @@

The class constructors and functions accept an optional `seed` numerical argument, which defaults to `0`.
#### Class interface

@@ -40,6 +42,6 @@

// Constructor.
MetroHash64([ seed:Number = 0 ]) : Object
MetroHash64(seed? : number) : this
// Update.
MetroHash64#update(input : [String | Buffer]) : Object
MetroHash64#update(input : String | Buffer) : this

@@ -57,3 +59,3 @@ // Finalize and get hash digest.

metrohash64(input : [String | Buffer], [ seed:Number = 0 ]) : String
metrohash64(input : String | Buffer, seed? : number) : String
```

@@ -60,0 +62,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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