Socket
Socket
Sign inDemoInstall

sse4_crc32

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sse4_crc32 - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

benchmark/1.single_1kb_length_buffer.benchmark.js

4

package.json
{
"name": "sse4_crc32",
"description": "A CRC32 generator using Intel's Streaming SIMD Extensions 4.2",
"description": "Hardware-accelerated CRC32 based on Intel Streaming SIMD Extensions 4.2",
"keywords": [

@@ -14,3 +14,3 @@ "crc",

],
"version": "1.0.0",
"version": "1.1.0",
"author": "Anand Suresh <anandsuresh@gmail.com> (https://github.com/anandsuresh)",

@@ -17,0 +17,0 @@ "licenses": [

@@ -34,6 +34,6 @@ # SSE4-CRC32

my_inputs.forEach(function (string) {
SSE4CRC32.update(string);
crc = SSE4CRC32.update(string);
});
crc = SSE4CRC32.crc();
crc = SSE4CRC32.crc(); // The .crc() method can also be used to get the final CRC

@@ -40,0 +40,0 @@ Also see the example code in the [examples](https://github.com/anandsuresh/sse4_crc32/tree/master/examples)

@@ -27,2 +27,3 @@ var sse4_crc32 = require("bindings")("sse4_crc32");

this.crc32 = sse4_crc32.calculate(input, this.crc32);
return this.crc32;
};

@@ -29,0 +30,0 @@

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