mirror of
https://github.com/gchq/CyberChef
synced 2025-12-18 09:13:43 +00:00
Converted JS operations
Deleted legacy files, neatened args in other ported ops
This commit is contained in:
@@ -58,8 +58,7 @@ class RC2Decrypt extends Operation {
|
||||
run(input, args) {
|
||||
const key = Utils.convertToByteString(args[0].string, args[0].option),
|
||||
iv = Utils.convertToByteString(args[1].string, args[1].option),
|
||||
inputType = args[2],
|
||||
outputType = args[3],
|
||||
[,, inputType, outputType] = args,
|
||||
decipher = forge.rc2.createDecryptionCipher(key);
|
||||
|
||||
input = Utils.convertToByteString(input, inputType);
|
||||
|
||||
Reference in New Issue
Block a user