This implementation was originally created for TheAlgorithms, with a focus on idiomatic code and genericity. It was expanded upon to add a command-line interface and allow multiple keywords.
Encryption:
cargo run -- "Write your message here." "Cipher Keyword"
Decryption:
cargo run -- -d "HEO MRW TIE USE AER RYS EG" "Cipher Keyword"
The Transposition Cipher is a method of encryption by which a message is shifted according to a regular system, so that the ciphertext is a rearrangement of the original message. The most commonly referred to Transposition Cipher is the Columnar method, which is demonstrated here.
The Double Columnar Transposition Cipher has a fairly comprehensive cultural and historical significance surrounding both World Wars. It holds partial credit for the advancements surrounding modern day encryption.