1. Encoding Plaintext Across 3 Rails
Cryptography StudentBackground
A student needs to understand how characters are distributed across rails during classical transposition.
Problem
Encode the message WEAREDISCOVERED with 3 rails to verify the manual calculation.
How to use
Input WEAREDISCOVERED, set mode to 'encode', and set rails to 3.
Text: WEAREDISCOVERED, Mode: encode, Rails: 3Outcome
Generates the ciphertext WECRERDSOEEAIVD by reading the rows top to bottom.