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

csprng

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csprng - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

lib/csprng.js

@@ -20,7 +20,4 @@ var DEFAULT_BITS = 128,

while (string.length < length) {
var x = stream.generate(radix);
console.log(x);
string += DIGITS[x];
}
while (string.length < length)
string += DIGITS[stream.generate(radix)];

@@ -27,0 +24,0 @@ return string;

@@ -8,3 +8,3 @@ { "name" : "csprng"

, "version" : "0.1.0"
, "version" : "0.1.1"
, "engines" : {"node": ">=0.6.0"}

@@ -11,0 +11,0 @@ , "main" : "./lib/csprng"

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