Added Key Option

This commit is contained in:
h345983745 2019-03-31 18:32:53 +01:00
parent 903ea45228
commit 3950dba2c5
5 changed files with 62 additions and 22 deletions

View file

@ -90,14 +90,14 @@ class GenerateAllHashes extends Operation {
"\nWhirlpool: " + (new Whirlpool()).run(arrayBuffer, ["Whirlpool"]) +
"\nSSDEEP: " + (new SSDEEP()).run(str) +
"\nCTPH: " + (new CTPH()).run(str) +
"\nBLAKE2b-512: " + (new BLAKE2b).run(str, ["512", "Hex"]) +
"\nBLAKE2b-384: " + (new BLAKE2b).run(str, ["384", "Hex"]) +
"\nBLAKE2b-256: " + (new BLAKE2b).run(str, ["256", "Hex"]) +
"\nBLAKE2b-160: " + (new BLAKE2b).run(str, ["160", "Hex"]) +
"\nBLAKE2b-128: " + (new BLAKE2b).run(str, ["128", "Hex"]) +
"\nBLAKE2s-256: " + (new BLAKE2s).run(str, ["256", "Hex"]) +
"\nBLAKE2s-160: " + (new BLAKE2s).run(str, ["160", "Hex"]) +
"\nBLAKE2s-128: " + (new BLAKE2s).run(str, ["128", "Hex"]) +
"\nBLAKE2b-512: " + (new BLAKE2b).run(str, ["512", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2b-384: " + (new BLAKE2b).run(str, ["384", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2b-256: " + (new BLAKE2b).run(str, ["256", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2b-160: " + (new BLAKE2b).run(str, ["160", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2b-128: " + (new BLAKE2b).run(str, ["128", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2s-256: " + (new BLAKE2s).run(str, ["256", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2s-160: " + (new BLAKE2s).run(str, ["160", "Hex", {string: "", option: "UTF8"}]) +
"\nBLAKE2s-128: " + (new BLAKE2s).run(str, ["128", "Hex", {string: "", option: "UTF8"}]) +
"\n\nChecksums:" +
"\nFletcher-8: " + (new Fletcher8Checksum).run(byteArray, []) +
"\nFletcher-16: " + (new Fletcher16Checksum).run(byteArray, []) +