drupal-hash
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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": { |
9135
212