From 985aa501526c9f1ec4b8e50a4c2031077c700ac5 Mon Sep 17 00:00:00 2001 From: Kaustubh BM Date: Fri, 14 May 2021 17:43:28 +0530 Subject: [PATCH] Update src/core/operations/MultiTapCipherEncode.mjs Co-authored-by: mt3571 <75119347+mt3571@users.noreply.github.com> --- src/core/operations/MultiTapCipherEncode.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/operations/MultiTapCipherEncode.mjs b/src/core/operations/MultiTapCipherEncode.mjs index 12c280ec..37b154ae 100644 --- a/src/core/operations/MultiTapCipherEncode.mjs +++ b/src/core/operations/MultiTapCipherEncode.mjs @@ -55,7 +55,7 @@ class MultiTapCipherEncode extends Operation { if(i!=plaintext.length-1) ciphertext += delim; } - return ciphertext.substring(0,ciphertext.length); + return ciphertext; } }