Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Route Transposition Cipher Decoder

Decode route tranposition cipher. User can change the input inside __init__ method. This program will try rearrange the scrambled message based on the inputted values.

Ciphertext = ['16', '12', '8', '4', '0', '1', '5', '9', '13', '17', '18', '14', '10', '6', '2', '3', '7', '11', '15', '19']
Trying 4 columns
Trying 5 rows
Trying key = [-1, 2, -3, 4]

Length of cipher = 20
Acceptable column/row values include: [2, 4, 5, 10]

Plaintext = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19