mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 13:23:25 +00:00
Converted JS operations
Deleted legacy files, neatened args in other ported ops
This commit is contained in:
@@ -75,9 +75,7 @@ class BlowfishEncrypt extends Operation {
|
||||
run(input, args) {
|
||||
const key = Utils.convertToByteString(args[0].string, args[0].option),
|
||||
iv = Utils.convertToByteArray(args[1].string, args[1].option),
|
||||
mode = args[2],
|
||||
inputType = args[3],
|
||||
outputType = args[4];
|
||||
[,, mode, inputType, outputType] = args;
|
||||
|
||||
if (key.length === 0) return "Enter a key";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user