rail fence cipher noun1 •A transposition cipher in which the plain text is written in a zigzag fashion diagonally up and down on successive "rails" of an imaginary fence, and then the characters are read off in rows to obtain the ciphertext. formsrail fence ciphers