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

hypercore-xsalsa20-onwrite-hook

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypercore-xsalsa20-onwrite-hook - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

index.js

@@ -45,3 +45,3 @@ const xsalsa20 = require('xsalsa20')

const key = Buffer.from(opts.key).slice(0, KEY_BYTES)
const xor = xsalsa20(nonce, key)
const xor = opts.xor || xsalsa20(nonce, key)
xor.update(data, data)

@@ -48,0 +48,0 @@ done(null)

{
"name": "hypercore-xsalsa20-onwrite-hook",
"version": "0.1.2",
"version": "0.1.3",
"description": "A write hook to decrypt data using a XSalsa20 cipher into a hypercore storage when replicating from peers",

@@ -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