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

sodium-secretstream

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sodium-secretstream - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -16,3 +16,3 @@ const sodium = require('sodium-universal')

class Push {
constructor (key, state = b4a.allocUnsafe(STATEBYTES), header = b4a.allocUnsafe(HEADERBYTES)) {
constructor (key, state = b4a.allocUnsafeSlow(STATEBYTES), header = b4a.allocUnsafeSlow(HEADERBYTES)) {
if (!TAG_FINAL) throw new Error('JavaScript sodium version needs to support crypto_secretstream_xchacha20poly')

@@ -39,3 +39,3 @@

class Pull {
constructor (key, state = b4a.allocUnsafe(STATEBYTES)) {
constructor (key, state = b4a.allocUnsafeSlow(STATEBYTES)) {
if (!TAG_FINAL) throw new Error('JavaScript sodium version needs to support crypto_secretstream_xchacha20poly')

@@ -42,0 +42,0 @@

{
"name": "sodium-secretstream",
"version": "1.1.0",
"version": "1.1.1",
"description": "Wraps libsodiums secretstream in a higher level abstraction",

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