mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
Added magic entropy signatures
This commit is contained in:
parent
d85704a4db
commit
4145d45b5f
8 changed files with 9 additions and 7 deletions
|
@ -7,3 +7,5 @@ export const binary = {
|
|||
input: [1, 1.5],
|
||||
output: [3.5, 6]
|
||||
};
|
||||
|
||||
export const entropyOfText = [3.5, 6];
|
|
@ -49,7 +49,7 @@ class FromBase32 extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [4.2, 5],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ class FromBase64 extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [4, 5],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ class FromDecimal extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [2.5, 3],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ class FromHex extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [2, 3],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ class FromHexContent extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [3, 4],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ class FromHexdump extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [3, 4],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ class FromOctal extends Operation {
|
|||
null,
|
||||
{
|
||||
input: [2.5, 3],
|
||||
output: [3.5, 6]
|
||||
output: criteria.entropyOfText
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue