Skip to content

xuyoji/cryptography-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptography-decoder

tool can be used to decode Vigenère automately and to help decode subsitution cryptography(with some human knowledge).

start

python3 is required python .\Decoder.py -i inputfile -t type

inputfile is the cryptography text file

type = 1 if decode subsititution

type = 2 if decode Vigenère

decode subsititution

sub.txt is an attached testcase

we define meaningful n-gram:

Meaningful n-gram is a gram of n letters(n >= 2) which appear more than twice in a text, and if it is a sub-string of a k-gram (k > n), its appearence time must be different from the k-gram.(Which means it appears more than the k-gram) All gram we show to you is meaningful n-gram

You need to interate with the program with information and tips on screen.

decode Vigenère

vig.txt is an attached testcase

All this procedure can be run automately.

more help

You can view the attached pdf file for the example detail.

About

Vigenère and subsitution cryptography decoder tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages