Merge 42cdb1feab
into c4e7c41a6e
This commit is contained in:
commit
a0aee342ca
|
@ -58,7 +58,7 @@ class RC4Drop extends Operation {
|
|||
run(input, args) {
|
||||
const message = format[args[1]].parse(input),
|
||||
passphrase = format[args[0].option].parse(args[0].string),
|
||||
drop = args[3],
|
||||
drop = args[3]/4,
|
||||
encrypted = CryptoJS.RC4Drop.encrypt(message, passphrase, { drop: drop });
|
||||
|
||||
return encrypted.ciphertext.toString(format[args[2]]);
|
||||
|
|
Loading…
Reference in a new issue