diff --git a/src/crypto/hash/index.js b/src/crypto/hash/index.js index bbb977b3..97f9eb28 100644 --- a/src/crypto/hash/index.js +++ b/src/crypto/hash/index.js @@ -106,7 +106,7 @@ export default { * Create a hash on the specified data using the specified algorithm * @param {module:enums.hash} algo Hash algorithm type (see {@link https://tools.ietf.org/html/rfc4880#section-9.4|RFC 4880 9.4}) * @param {Uint8Array} data Data to be hashed - * @returns {Uint8Array} hash value + * @returns {Promise} hash value */ digest: function(algo, data) { switch (algo) {