Socket
Socket
Sign inDemoInstall

keccak

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keccak - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

lib/api/keccak.js

@@ -47,3 +47,3 @@ 'use strict'

if (this._finalized) throw new Error('Digest already called')
if (!Buffer.isBuffer(data)) data = Buffer.from(data, encoding)
if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding)

@@ -50,0 +50,0 @@ this._state.absorb(data)

@@ -41,3 +41,3 @@ 'use strict'

if (this._finalized) throw new Error('Squeeze already called')
if (!Buffer.isBuffer(data)) data = Buffer.from(data, encoding)
if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding)

@@ -44,0 +44,0 @@ this._state.absorb(data)

@@ -49,3 +49,3 @@ 'use strict'

var output = Buffer.allocUnsafe(length)
var output = new Buffer(length)
for (var i = 0; i < length; ++i) {

@@ -52,0 +52,0 @@ output[i] = (this.state[~~(this.count / 4)] >>> (8 * (this.count % 4))) & 0xff

{
"name": "keccak",
"version": "1.1.0",
"version": "1.2.0",
"description": "Keccak sponge function family",

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

"bindings": "^1.2.1",
"inherits": "^2.0.1",
"inherits": "^2.0.3",
"nan": "^2.2.1",

@@ -50,6 +50,6 @@ "prebuild-install": "^2.0.0"

"devDependencies": {
"browserify": "^13.0.0",
"browserify": "^14.1.0",
"nyc": "^10.0.0",
"prebuild": "^6.0.0",
"prebuild-ci": "^1.0.9",
"prebuild-ci": "^2.2.0",
"proxyquire": "^1.7.10",

@@ -60,3 +60,3 @@ "standard": "*",

"engines": {
"node": ">=4.5.0"
"node": ">=4.0.0"
},

@@ -63,0 +63,0 @@ "gypfile": true,

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