Skip to main content
Challenges Rail Fence — zigzag cipher
Cryptography Easy Transposition Solves: 6

Rail Fence — zigzag cipher

Author: CyberSamSU
Points
20

Rail Fence is a transposition cipher. In it, the letters are not substituted, only their position is changed. The text is written in a zigzag shape across several rows ('rails'), then the rows are read sequentially from top to bottom.

An example for 3 rails and the word SALOMDUNYO:

S . . . M . . . Y .
. A . O . D . N . O
. . L . . . U . . .

natija: SMYAODNOLU

The following ciphertext was obtained with 4 rails. There are no spaces, all characters (including parentheses) are present in their original places.

B{1L34AQKSK1_C_ZGYOLS_4FNZG}R4R31
Theory: learn the topic
Learning paths: Cryptography 101
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −2 pts Log in
Hint 2 −4 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 26.10.2026
3. Odam 04.11.2026
4. Doston Allayarov 12.11.2026
5. Jasmin Xuseinova 15.11.2026
6. farang1z_06 20.11.2026