diff --git a/src/core/operations/RailFenceCipherDecode.mjs b/src/core/operations/RailFenceCipherDecode.mjs index 058c3b7d..be54ee12 100644 --- a/src/core/operations/RailFenceCipherDecode.mjs +++ b/src/core/operations/RailFenceCipherDecode.mjs @@ -46,7 +46,7 @@ class RailFenceCipherDecode extends Operation { run(input, args) { const [key, offset] = args; - let cipher = input; + const cipher = input; if (key < 2) { throw new OperationError("Key has to be bigger than 2");