mirror of
https://github.com/gchq/CyberChef
synced 2025-01-21 00:43:53 +00:00
Don't pad rail fence decode fixes #1069
This commit is contained in:
parent
c9d9730726
commit
2e0aa7ae87
1 changed files with 0 additions and 7 deletions
|
@ -59,13 +59,6 @@ class RailFenceCipherDecode extends Operation {
|
|||
}
|
||||
|
||||
const cycle = (key - 1) * 2;
|
||||
|
||||
const rest = cipher.length % key;
|
||||
|
||||
if (rest !== 0) {
|
||||
cipher = cipher + (" ".repeat(key - rest));
|
||||
}
|
||||
|
||||
const plaintext = new Array(cipher.length);
|
||||
|
||||
let j = 0;
|
||||
|
|
Loading…
Reference in a new issue