mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Need to choose the entropy boundaries
This commit is contained in:
parent
f9dbf5ba21
commit
dd682be184
2 changed files with 3 additions and 1 deletions
|
@ -308,6 +308,8 @@ class Magic {
|
||||||
let outputEntropy = 0;
|
let outputEntropy = 0;
|
||||||
if (entropyTests) {
|
if (entropyTests) {
|
||||||
outputEntropy = this.calcEntropy(new Uint8Array(output));
|
outputEntropy = this.calcEntropy(new Uint8Array(output));
|
||||||
|
console.log(entropyTests.output);
|
||||||
|
console.log(outputEntropy);
|
||||||
}
|
}
|
||||||
|
|
||||||
const outputRegexes = OperationConfig[op.op].outputRegexes;
|
const outputRegexes = OperationConfig[op.op].outputRegexes;
|
||||||
|
|
|
@ -40,7 +40,7 @@ class Gunzip extends Operation {
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
input: [7, 8],
|
input: [7, 8],
|
||||||
output: [3.5, 7],
|
output: [3.5, 6],
|
||||||
change: true
|
change: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue