Index: chrome/browser/resources/cryptotoken/sha256.js |
diff --git a/chrome/browser/resources/cryptotoken/sha256.js b/chrome/browser/resources/cryptotoken/sha256.js |
index 4d3c93eda6dd59f878e1dbaebf7b74342a152a67..63b62fb11bb2e584237f082eb8ed21b50e687538 100644 |
--- a/chrome/browser/resources/cryptotoken/sha256.js |
+++ b/chrome/browser/resources/cryptotoken/sha256.js |
@@ -51,7 +51,7 @@ SHA256.prototype.reset = function() { |
}; |
/** Hash the next block of 64 bytes |
- * @param {Array.<number>} buf A 64 byte buffer |
+ * @param {Array<number>} buf A 64 byte buffer |
*/ |
SHA256.prototype._compress = function(buf) { |
var W = this._W; |
@@ -113,7 +113,7 @@ SHA256.prototype._compress = function(buf) { |
}; |
/** Update the hash with additional data |
- * @param {Array.<number>|Uint8Array} bytes The data |
+ * @param {Array<number>|Uint8Array} bytes The data |
* @param {number=} opt_length How many bytes to hash, if not all */ |
SHA256.prototype.update = function(bytes, opt_length) { |
if (!opt_length) opt_length = bytes.length; |
@@ -129,7 +129,7 @@ SHA256.prototype.update = function(bytes, opt_length) { |
}; |
/** Update the hash with a specified range from a data buffer |
- * @param {Array.<number>} bytes The data buffer |
+ * @param {Array<number>} bytes The data buffer |
* @param {number} start Starting index of the range in bytes |
* @param {number} end End index, will not be included in range |
*/ |
@@ -148,7 +148,7 @@ SHA256.prototype.updateRange = function(bytes, start, end) { |
* Optionally update the hash with additional arguments, and return the |
* resulting hash value. |
* @param {...*} var_args Data buffers to hash |
- * @return {Array.<number>} the SHA256 hash value. |
+ * @return {Array<number>} the SHA256 hash value. |
*/ |
SHA256.prototype.digest = function(var_args) { |
for (var i = 0; i < arguments.length; ++i) |