🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

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": {