pbkdf2
Advanced tools
Comparing version 3.0.13 to 3.0.14
var crypto = require('crypto') | ||
/* istanbul ignore next */ | ||
if (crypto && crypto.pbkdf2Sync && crypto.pbkdf2Sync.toString().indexOf('keylen, digest') === -1) { | ||
if (crypto && (!crypto.pbkdf2Sync || crypto.pbkdf2Sync.toString().indexOf('keylen, digest') === -1)) { | ||
exports.pbkdf2 = require('./lib/async') | ||
@@ -5,0 +5,0 @@ exports.pbkdf2Sync = require('./lib/sync') |
{ | ||
"name": "pbkdf2", | ||
"version": "3.0.13", | ||
"version": "3.0.14", | ||
"description": "This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
11624