mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 07:48:48 -05:00
Update pbkdf2.js
This commit is contained in:
parent
580baa34d2
commit
f2dcb572ad
@ -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;
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user