We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f077a commit 74a7b5fCopy full SHA for 74a7b5f
ciphers/transposition_cipher.py
@@ -1,6 +1,11 @@
1
import math
2
3
-
+'''
4
+In cryptography, the TRANSPOSITION cipher is a method of encryption where the
5
+positions of plaintext are shifted a certain number(determined by the key) that
6
+follows a regular system that results in the permuted text, known as the encrypted
7
+text. The type of transposition cipher demonstrated under is the ROUTE cipher.
8
9
def main():
10
message = input("Enter message: ")
11
key = int(input("Enter key [2-%s]: " % (len(message) - 1)))
0 commit comments