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.3 to 0.2.0

3

example.js

@@ -23,4 +23,3 @@ const { keyPair } = require('hypercore-crypto')

replicate(feed, copy.replicate({ live: true }), other.replicate({ live: true }), {
userData: Buffer.from([0xfa, 0xce]),
replicate(feed, replicate(copy, { live: true }), replicate(other, { live: true }), {
live: true

@@ -27,0 +26,0 @@ })

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

@@ -18,4 +18,4 @@ "main": "index.js",

"devDependencies": {
"hypercore": "^7.0.0",
"hypercore-replicate": "^0.1.0",
"hypercore": "^8.0.0",
"hypercore-replicate": "^0.2.0",
"random-access-memory": "^3.1.1",

@@ -22,0 +22,0 @@ "xsalsa20-encoding": "^0.1.0"

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