Socket
Socket
Sign inDemoInstall

sodium-javascript

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sodium-javascript - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

5

package.json
{
"name": "sodium-javascript",
"version": "0.5.3",
"version": "0.5.4",
"description": "WIP - a pure javascript version of sodium-native",

@@ -17,2 +17,5 @@ "main": "index.js",

},
"browser": {
"crypto": false
},
"scripts": {

@@ -19,0 +22,0 @@ "browser": "browserify test.js | browser-run",

2

randombytes.js

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

// Node.js.
crypto = require('cry' + 'pto');
crypto = require('crypto')
if (crypto && crypto.randomBytes) {

@@ -27,0 +27,0 @@ return nodeBytes

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