mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
Minor changes. Added test cases.
This commit is contained in:
parent
6b95ba7dd6
commit
8d4ad6ae75
3 changed files with 79 additions and 3 deletions
|
@ -52,9 +52,7 @@ class ExtractHashes extends Operation {
|
|||
const results = [];
|
||||
let hashCount = 0;
|
||||
|
||||
const hashLength = args[0];
|
||||
const searchAllHashes = args[1];
|
||||
const showDisplayTotal = args[2];
|
||||
const [hashLength, searchAllHashes, showDisplayTotal] = args;
|
||||
|
||||
// Convert character length to bit length
|
||||
let hashBitLengths = [(hashLength / 2) * 8];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue