mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Added to "Generate All Hashes" operation
This commit is contained in:
parent
c813d17595
commit
2d7e3f180e
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,8 @@ import Fletcher64Checksum from "./Fletcher64Checksum";
|
||||||
import Adler32Checksum from "./Adler32Checksum";
|
import Adler32Checksum from "./Adler32Checksum";
|
||||||
import CRC16Checksum from "./CRC16Checksum";
|
import CRC16Checksum from "./CRC16Checksum";
|
||||||
import CRC32Checksum from "./CRC32Checksum";
|
import CRC32Checksum from "./CRC32Checksum";
|
||||||
|
import BLAKE2b from "./BLAKE2b";
|
||||||
|
import BLAKE2s from "./BLAKE2s";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate all hashes operation
|
* Generate all hashes operation
|
||||||
|
@ -88,6 +90,14 @@ class GenerateAllHashes extends Operation {
|
||||||
"\nWhirlpool: " + (new Whirlpool()).run(arrayBuffer, ["Whirlpool"]) +
|
"\nWhirlpool: " + (new Whirlpool()).run(arrayBuffer, ["Whirlpool"]) +
|
||||||
"\nSSDEEP: " + (new SSDEEP()).run(str) +
|
"\nSSDEEP: " + (new SSDEEP()).run(str) +
|
||||||
"\nCTPH: " + (new CTPH()).run(str) +
|
"\nCTPH: " + (new CTPH()).run(str) +
|
||||||
|
"\nBLAKE2b-512: " + (new BLAKE2b).run(str, ["512"]) +
|
||||||
|
"\nBLAKE2b-384: " + (new BLAKE2b).run(str, ["384"]) +
|
||||||
|
"\nBLAKE2b-256: " + (new BLAKE2b).run(str, ["256"]) +
|
||||||
|
"\nBLAKE2b-160: " + (new BLAKE2b).run(str, ["160"]) +
|
||||||
|
"\nBLAKE2b-128: " + (new BLAKE2b).run(str, ["128"]) +
|
||||||
|
"\nBLAKE2s-256: " + (new BLAKE2s).run(str, ["256"]) +
|
||||||
|
"\nBLAKE2s-160: " + (new BLAKE2s).run(str, ["160"]) +
|
||||||
|
"\nBLAKE2s-128: " + (new BLAKE2s).run(str, ["128"]) +
|
||||||
"\n\nChecksums:" +
|
"\n\nChecksums:" +
|
||||||
"\nFletcher-8: " + (new Fletcher8Checksum).run(byteArray, []) +
|
"\nFletcher-8: " + (new Fletcher8Checksum).run(byteArray, []) +
|
||||||
"\nFletcher-16: " + (new Fletcher16Checksum).run(byteArray, []) +
|
"\nFletcher-16: " + (new Fletcher16Checksum).run(byteArray, []) +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue