Merge pull request #58 from fmarier/cachedpbkdf2_docs

jsdoc: fix param names in misc.cachedPbkdf2
This commit is contained in:
bitwiseshiftleft 2012-06-18 23:10:16 -07:00
commit ec303b26ef

View file

@ -255,8 +255,8 @@ sjcl.decrypt = sjcl.json.decrypt;
sjcl.misc._pbkdf2Cache = {};
/** Cached PBKDF2 key derivation.
* @param {String} The password.
* @param {Object} The derivation params (iteration count and optional salt).
* @param {String} password The password.
* @param {Object} [params] The derivation params (iteration count and optional salt).
* @return {Object} The derived data in key, the salt in salt.
*/
sjcl.misc.cachedPbkdf2 = function (password, obj) {