Socket
Socket
Sign inDemoInstall

private-box

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

private-box - npm Package Compare versions

Comparing version 0.0.0 to 0.0.2

3

index.js
var sodium = require('sodium/build/Release/sodium')
var sodium = require('chloride/build/Release/sodium')

@@ -51,3 +51,2 @@ var scalarmult = sodium.crypto_scalarmult

var s = start+size*i
console.log(i, s, s+size, ctxt.length)
if(s + size > (ctxt.length - 16)) continue

@@ -54,0 +53,0 @@ _key = secretbox_open(ctxt.slice(s, s + size), nonce, my_key)

{
"name": "private-box",
"description": "",
"version": "0.0.0",
"description": "encrypt a message to a secret number of recipients",
"version": "0.0.2",
"homepage": "https://github.com/auditdrivencrypto/private-box",

@@ -11,3 +11,3 @@ "repository": {

"dependencies": {
"sodium": "git://github.com/dominictarr/node-sodium.git#0fade334a8c67b6267a5e66f944199b74927713a"
"chloride": "^1.0.20-1"
},

@@ -14,0 +14,0 @@ "devDependencies": {

@@ -6,3 +6,3 @@

var c = require('../')
var sodium = require('sodium/build/Release/sodium')
var sodium = require('chloride/build/Release/sodium')

@@ -9,0 +9,0 @@ var keypair = sodium.crypto_box_keypair

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