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