mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-13 17:46:53 -04:00
More tidying up
This commit is contained in:
parent
16186c432e
commit
9484941f66
1 changed files with 4 additions and 3 deletions
|
@ -120,6 +120,7 @@ class ExtractEntropies extends Operation {
|
||||||
* Calculates the scanning entropy of the input.
|
* Calculates the scanning entropy of the input.
|
||||||
*
|
*
|
||||||
* @param {Uint8Array} inputBytes
|
* @param {Uint8Array} inputBytes
|
||||||
|
* @param {number} binWidth
|
||||||
* @returns {Object}
|
* @returns {Object}
|
||||||
*/
|
*/
|
||||||
calculateScanningEntropy(inputBytes, binWidth) {
|
calculateScanningEntropy(inputBytes, binWidth) {
|
||||||
|
@ -200,7 +201,7 @@ class ExtractEntropies extends Operation {
|
||||||
* Retrieves all the blocks with entropy lower than the low mean.
|
* Retrieves all the blocks with entropy lower than the low mean.
|
||||||
*
|
*
|
||||||
* @param {Array} entropies
|
* @param {Array} entropies
|
||||||
* @param {number} highEntropy
|
* @param {number} lowEntropy
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
getAllBelow(entropies, lowEntropy) {
|
getAllBelow(entropies, lowEntropy) {
|
||||||
|
@ -335,8 +336,8 @@ class ExtractEntropies extends Operation {
|
||||||
* Flips the groups to cover the remaining data.
|
* Flips the groups to cover the remaining data.
|
||||||
*
|
*
|
||||||
* @param {Array} data
|
* @param {Array} data
|
||||||
* @param {Number} length
|
* @param {number} length
|
||||||
* @param {Number} binWidth
|
* @param {number} binWidth
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
flipGroupings(data, length, binWidth) {
|
flipGroupings(data, length, binWidth) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue