From f2dcb572adab3beba6723c7b4c2a5b73255e93db Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Sat, 12 Apr 2014 14:17:10 +0200 Subject: [PATCH] Update pbkdf2.js --- src/js/crypto/pbkdf2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/crypto/pbkdf2.js b/src/js/crypto/pbkdf2.js index 0c4a5d6..ec01b69 100644 --- a/src/js/crypto/pbkdf2.js +++ b/src/js/crypto/pbkdf2.js @@ -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; -}); \ No newline at end of file +});