diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/sha_dev.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ Example to calculate the SHA-512 of "This is a test": The constructor takes a hashmap as a optional third argument with possible properties of "numRounds" and "encoding". numRounds controls the number of -hashing iterations/rounds performed and defaults to a value of "1" if not +hashing iterations/rounds performed and defaults to a value of 1 if not specified. encoding specifies the encoding used to encode TEXT-type inputs. Valid options are "UTF8", "UTF16BE", and "UTF16LE", it defaults to "UTF8". diff --git a/src/sha_dev.js b/src/sha_dev.js index 8222d1b..e51d838 100644 --- a/src/sha_dev.js +++ b/src/sha_dev.js @@ -1390,7 +1390,7 @@ var SUPPORTED_ALGS = 4 | 2 | 1; * @param {string} variant The desired SHA variant (SHA-1, SHA-224, SHA-256, * SHA-384, or SHA-512) * @param {string} inputFormat The format of srcString: HEX, TEXT, B64, or BYTES - * @param {{encoding: (string|undefined), numRounds: (string|undefined)}=} + * @param {{encoding: (string|undefined), numRounds: (number|undefined)}=} * options Optional values */ var jsSHA = function(variant, inputFormat, options) |