In transposition cipher the alphabets of the plain text are rearranged in a different & usually quite complex order.
Rail fence technique is an example of transposition technique. It involves writing plain text as sequence of diagonals & then reading them row by row to produce cipher text. In the program we are implementing Rail fence technique which is a type of transposition cipher. Program consist of two methods encrypt and decrypt to implement the concept.