Socket
Socket
Sign inDemoInstall

blake2b

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blake2b - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -214,2 +214,3 @@ var assert = require('nanoassert')

Blake2b.prototype.update = function (input) {
assert(input != null, 'input must be Uint8Array or Buffer')
blake2bUpdate(this, input)

@@ -221,2 +222,3 @@ return this

var buf = (!out || out === 'binary' || out === 'hex') ? new Uint8Array(this.outlen) : out
assert(buf.length >= this.outlen, 'out must have at least outlen bytes of space')
blake2bFinal(this, buf)

@@ -223,0 +225,0 @@ if (out === 'hex') return hexSlice(buf)

2

package.json
{
"name": "blake2b",
"version": "2.0.0",
"version": "2.0.1",
"description": "Blake2b (64-bit version) in pure Javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

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