瀏覽代碼

jsdoc: fix param names in misc.cachedPbkdf2

Francois Marier 14 年之前
父節點
當前提交
a7f830229d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/convenience.js

+ 2 - 2
core/convenience.js

@@ -255,8 +255,8 @@ sjcl.decrypt = sjcl.json.decrypt;
 sjcl.misc._pbkdf2Cache = {};
 sjcl.misc._pbkdf2Cache = {};
 
 
 /** Cached PBKDF2 key derivation.
 /** 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.
  * @return {Object} The derived data in key, the salt in salt.
  */
  */
 sjcl.misc.cachedPbkdf2 = function (password, obj) {
 sjcl.misc.cachedPbkdf2 = function (password, obj) {