From 0e3751407b0388466f6a9cbfb41705ee8ca499ef Mon Sep 17 00:00:00 2001 From: n1474335 Date: Mon, 9 Oct 2017 15:17:20 +0000 Subject: [PATCH] Cleaned lint. --- src/core/operations/Hash.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/operations/Hash.js b/src/core/operations/Hash.js index 7213cb13..b8bd4797 100755 --- a/src/core/operations/Hash.js +++ b/src/core/operations/Hash.js @@ -16,20 +16,22 @@ import Checksum from "./Checksum.js"; */ const Hash = { - /** Generic hash function + /** + * Generic hash function. * * @param {string} name * @param {string} input * @returns {string} */ runHash: function(name, input) { - let hasher = CryptoApi.hasher(name); + const hasher = CryptoApi.hasher(name); hasher.state.message = input; hasher.state.length += input.length; hasher.process(); return hasher.finalize().stringify("hex"); }, + /** * MD2 operation. *