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

highwayhash

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highwayhash - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

src/highwayhash/hh_vsx.cc

2

index.js
'use strict';
const HighwayHash = require('./build/Release/highwayhash');
const HighwayHash = require('./build/Release/highwayhash.node');

@@ -5,0 +5,0 @@ const assertKey = function (key) {

{
"name": "highwayhash",
"version": "2.1.1",
"version": "2.2.0",
"author": "Lovell Fuller <npm@lovell.info>",

@@ -8,3 +8,4 @@ "description": "Node.js implementation of HighwayHash, Google's fast and strong hash function",

"scripts": {
"test": "semistandard && cc && node test/unit"
"install": "detect-libc prebuild-install || node-gyp rebuild",
"test": "semistandard && cc && node test/unit && detect-libc prebuild-ci"
},

@@ -24,3 +25,5 @@ "main": "index.js",

"dependencies": {
"nan": "^2.5.1"
"detect-libc": "^0.2.0",
"nan": "^2.7.0",
"prebuild-install": "^2.2.2"
},

@@ -30,3 +33,5 @@ "devDependencies": {

"long": "^3.2.0",
"semistandard": "^10.0.0"
"prebuild": "^6.2.1",
"prebuild-ci": "^2.2.3",
"semistandard": "^11.0.0"
},

@@ -33,0 +38,0 @@ "license": "Apache-2.0",

@@ -11,4 +11,7 @@ # highwayhash

AVX2 or SSE4.1 instruction sets will be used when available at runtime.
64-bit hash values are platform independent and will not change for a given input.
This is important for applications that write hashes to persistent storage.
SIMD intrinsics (AVX2, SSE4.1) will be used when available at runtime.
Expect up to 8 million operations/second,

@@ -25,7 +28,8 @@ depending on the length of the input and the output type required.

Pre-compiled binaries are provided for the most common platforms.
## Requirements
* x64 CPU (ARM support coming soon)
* x64 CPU
* Node.js v4+
* [node-gyp](https://github.com/nodejs/node-gyp#installation) and its dependencies

@@ -38,2 +42,6 @@ ## Installation

```sh
yarn add highwayhash
```
## Usage

@@ -40,0 +48,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

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