mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Variable name
This commit is contained in:
parent
6dbaf6a36c
commit
23956480b7
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue