From 3c52a9faab455d9008cf093ba3dc4ee61d1dbd60 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Tue, 12 Sep 2017 15:39:48 +0000 Subject: [PATCH] Added Keccak and Shake to 'Generate all hashes' operation --- src/core/operations/Hash.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/operations/Hash.js b/src/core/operations/Hash.js index f57c16e9..909950ad 100755 --- a/src/core/operations/Hash.js +++ b/src/core/operations/Hash.js @@ -333,6 +333,12 @@ const Hash = { "\nSHA3 256: " + Hash.runSHA3(input, ["256"]) + "\nSHA3 384: " + Hash.runSHA3(input, ["384"]) + "\nSHA3 512: " + Hash.runSHA3(input, ["512"]) + + "\nKeccak 224: " + Hash.runKeccak(input, ["224"]) + + "\nKeccak 256: " + Hash.runKeccak(input, ["256"]) + + "\nKeccak 384: " + Hash.runKeccak(input, ["384"]) + + "\nKeccak 512: " + Hash.runKeccak(input, ["512"]) + + "\nShake 128: " + Hash.runShake(input, ["128", 256]) + + "\nShake 256: " + Hash.runShake(input, ["256", 512]) + "\nRIPEMD-160: " + Hash.runRIPEMD160(input, []) + "\n\nChecksums:" + "\nFletcher-8: " + Checksum.runFletcher8(byteArray, []) +