1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-23 15:58:49 -05:00

Update pbkdf2.js

This commit is contained in:
Tankred Hase 2014-04-12 14:17:10 +02:00
parent 580baa34d2
commit f2dcb572ad

View File

@ -7,7 +7,7 @@ define(['node-forge'], function(forge) {
var self = {};
/**
* PBKDF2-HMAC-SHA1 key derivation with a constant salt and 1000 iterations
* PBKDF2-HMAC-SHA1 key derivation with a random salt and 1000 iterations
* @param password [String] The password in UTF8
* @param salt [String] The base64 encoded salt
* @param keySize [Number] The key size in bits
@ -21,4 +21,4 @@ define(['node-forge'], function(forge) {
};
return self;
});
});