Minor changes. Added test cases.

This commit is contained in:
mshwed 2024-04-01 22:22:43 -04:00
parent 6b95ba7dd6
commit 8d4ad6ae75
3 changed files with 79 additions and 3 deletions

View file

@ -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];