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 0.0.2 to 1.0.0

4

package.json
{
"name": "highwayhash",
"version": "0.0.2",
"version": "1.0.0",
"author": "Lovell Fuller <npm@lovell.info>",

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

"dependencies": {
"nan": "^2.2.1"
"nan": "^2.3.3"
},

@@ -25,0 +25,0 @@ "devDependencies": {

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

Expect data throughput of up to 11 GB/s,
which translates to about 3 million operations/second when used with Node.js.
Expect up to 8 million operations/second,
depending on the length of the input and the output type required.
As JavaScript lacks native support for 64-bit integers,
hash values are made available as string, Buffer and
hash values are made available as hex, string, Buffer and
low/high 32-bit unsigned integer types.

@@ -102,17 +102,26 @@

| -----------------: | :------------- | ---------------: | :---------------- | --------: |
| 100 | FarmHash | 32 | string | 9,007,638 |
| 100 | FarmHash | 64 | string | 1,702,653 |
| 100 | HighwayHash | 32 | 32-bit int (low) | 4,338,413 |
| 100 | HighwayHash | 32 | 32-bit int (high) | 4,372,574 |
| 100 | HighwayHash | 64 | string | 3,278,853 |
| 1000 | FarmHash | 32 | string | 3,352,427 |
| 1000 | FarmHash | 64 | string | 1,506,128 |
| 1000 | HighwayHash | 32 | 32-bit int (low) | 3,090,887 |
| 1000 | HighwayHash | 32 | 32-bit int (high) | 3,082,453 |
| 1000 | HighwayHash | 64 | string | 2,580,694 |
| 10000 | FarmHash | 32 | string | 1,535,208 |
| 10000 | FarmHash | 64 | string | 978,921 |
| 10000 | HighwayHash | 32 | 32-bit int (low) | 1,082,865 |
| 10000 | HighwayHash | 32 | 32-bit int (high) | 1,081,761 |
| 10000 | HighwayHash | 64 | string | 901,997 |
| 100 | md5 | 128 | Buffer | 609,621 |
| 100 | sha256 | 256 | Buffer | 548,025 |
| 100 | FarmHash | 32 | string | 9,185,297 |
| 100 | HighwayHash | 32 | 32-bit int (low) | 7,678,247 |
| 100 | HighwayHash | 32 | 32-bit int (high) | 7,967,795 |
| 100 | FarmHash | 64 | string | 1,491,543 |
| 100 | HighwayHash | 64 | string | 3,324,484 |
| 100 | HighwayHash | 64 | hex string | 3,914,129 |
| 1000 | md5 | 128 | Buffer | 357,838 |
| 1000 | sha256 | 256 | Buffer | 240,392 |
| 1000 | FarmHash | 32 | string | 5,409,961 |
| 1000 | HighwayHash | 32 | 32-bit int (low) | 5,264,793 |
| 1000 | HighwayHash | 32 | 32-bit int (high) | 5,306,368 |
| 1000 | FarmHash | 64 | string | 1,390,345 |
| 1000 | HighwayHash | 64 | string | 2,777,670 |
| 1000 | HighwayHash | 64 | hex string | 3,167,246 |
| 10000 | md5 | 128 | Buffer | 67,489 |
| 10000 | sha256 | 256 | Buffer | 37,608 |
| 10000 | FarmHash | 32 | string | 1,455,628 |
| 10000 | HighwayHash | 32 | 32-bit int (low) | 1,172,628 |
| 10000 | HighwayHash | 32 | 32-bit int (high) | 1,179,418 |
| 10000 | FarmHash | 64 | string | 953,943 |
| 10000 | HighwayHash | 64 | string | 971,012 |
| 10000 | HighwayHash | 64 | hex string | 1,015,985 |

@@ -143,3 +152,3 @@ ```sh

Copyright 2015 Google Inc. All Rights Reserved.
Copyright 2015, 2016 Google Inc. All Rights Reserved.

@@ -146,0 +155,0 @@ Licensed under the Apache License, Version 2.0 (the "License");

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