Fixed bug in Substitute where commas would not encode correctly
This commit is contained in:
parent
33b606d48f
commit
d6705c682f
@ -766,8 +766,8 @@ const Cipher = {
|
|||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
runSubstitute: function (input, args) {
|
runSubstitute: function (input, args) {
|
||||||
let plaintext = Utils.expandAlphRange(args[0]).join(),
|
let plaintext = Utils.expandAlphRange(args[0]).join(""),
|
||||||
ciphertext = Utils.expandAlphRange(args[1]).join(),
|
ciphertext = Utils.expandAlphRange(args[1]).join(""),
|
||||||
output = "",
|
output = "",
|
||||||
index = -1;
|
index = -1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user