mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 21:33:36 +00:00
Docstrings added for Magic functions
This commit is contained in:
@@ -29,8 +29,11 @@ class Magic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Finds operations that claim to be able to decode the input based on
|
||||||
|
* regular expression matches.
|
||||||
*
|
*
|
||||||
* @param opPatterns
|
* @param {[Object]} opPatterns
|
||||||
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
inputRegexMatch(opPatterns) {
|
inputRegexMatch(opPatterns) {
|
||||||
const matches = [];
|
const matches = [];
|
||||||
@@ -48,7 +51,11 @@ class Magic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Finds operations that claim to be able to decode the input based on entropy
|
||||||
|
* matches.
|
||||||
*
|
*
|
||||||
|
* @param {[Object]} opPatterns
|
||||||
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
entropyInputMatch(opPatterns) {
|
entropyInputMatch(opPatterns) {
|
||||||
const matches = [];
|
const matches = [];
|
||||||
@@ -64,8 +71,7 @@ class Magic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds operations that claim to be able to decode the input based on regular
|
* Finds operations that claim to be able to decode the input based on criteria.
|
||||||
* expression matches.
|
|
||||||
*
|
*
|
||||||
* @returns {Object[]}
|
* @returns {Object[]}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user