mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Variable name
This commit is contained in:
parent
6dbaf6a36c
commit
23956480b7
@ -51,8 +51,10 @@ class ToHex extends Operation {
|
|||||||
*/
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
const delim = Utils.charRep(args[0] || "Space");
|
const delim = Utils.charRep(args[0] || "Space");
|
||||||
|
const lineSize = args[1];
|
||||||
const comma = args[2] ? "," : "";
|
const comma = args[2] ? "," : "";
|
||||||
return toHex(new Uint8Array(input), delim, 2, comma, args[1]);
|
|
||||||
|
return toHex(new Uint8Array(input), delim, 2, comma, lineSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user