Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rle-mino committed Nov 29, 2017
1 parent a2fcc9e commit 2b8735a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ps_crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
// -----------------

function createPSCrypto(password, callback) {
crypto.pbkdf2(password, SALT, NUM_ITERATIONS, KEY_LENGTH, function (err, derivedKey) {
crypto.pbkdf2(password, SALT, NUM_ITERATIONS, KEY_LENGTH, 'SHA1',function (err, derivedKey) {
if (err) {
callback(err, null);
} else {
Expand Down

0 comments on commit 2b8735a

Please sign in to comment.