diff --git a/ciphers/transposition_cipher.py b/ciphers/transposition_cipher.py index b6c9195b5..3b69d6b99 100644 --- a/ciphers/transposition_cipher.py +++ b/ciphers/transposition_cipher.py @@ -1,6 +1,11 @@ import math - +''' +In cryptography, the TRANSPOSITION cipher is a method of encryption where the +positions of plaintext are shifted a certain number(determined by the key) that +follows a regular system that results in the permuted text, known as the encrypted +text. The type of transposition cipher demonstrated under is the ROUTE cipher. +''' def main(): message = input("Enter message: ") key = int(input("Enter key [2-%s]: " % (len(message) - 1)))