New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

drupal-hash

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drupal-hash - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

index.js

@@ -28,2 +28,3 @@ var crypto = require('crypto');

var itoa64 = _password_itoa64();
var value;
do {

@@ -57,3 +58,3 @@ value = ord(input[i++]);

// We encode the final log2 iteration count in base 64.
itoa64 = _password_itoa64();
var itoa64 = _password_itoa64();
output += itoa64[count_log2];

@@ -60,0 +61,0 @@ // 6 bytes is the standard salt for a portable phpass hash.

{
"name": "drupal-hash",
"version": "1.0.1",
"version": "1.0.2",
"description": "JavaScript implementation of the hashing algorithm used in Drupal",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "mocha --check-leaks"
},

@@ -9,0 +9,0 @@ "repository": {

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