Simple CLI to help decipher monoalphabetic ciphers
python3 MonoSub.py <text file to decipher>
- Simple UI showing text and deciphered text.
- Count character frequencies.
- Save your solution and load them later.
add <source> <dest>
adds transformation rule from each character insource
to each character indest
. For example,add abc the
changesa
tot
,b
toh
, andc
toe
.remove <char>
resets one character at a time.clear
clears the screen and print the message again.reset
resets all characters.frequency
shows the frequency of all characters.autofreq (on/off)
turns auto printing of character frequency on or off.summary
summarises all transformation rules.save
saves transformation rules into a pickle file.load
loads transformation rules from a pickle file made bysave
command.quit
orexit
quits. Much easier thanvim
.