mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Remove trim from rail fence.
This commit is contained in:
parent
d3357d2acd
commit
2c32a64bfe
3 changed files with 13 additions and 2 deletions
|
@ -72,7 +72,7 @@ class RailFenceCipherDecode extends Operation {
|
|||
}
|
||||
}
|
||||
|
||||
return plaintext.join("").trim();
|
||||
return plaintext.join("");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ class RailFenceCipherEncode extends Operation {
|
|||
rows[rowIdx] += plaintext[pos];
|
||||
}
|
||||
|
||||
return rows.join("").trim();
|
||||
return rows.join("");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue