Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 707 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 707 Bytes

SimpleSubstitutionDecipher

After having done a frequency analysis of an encrypted text, with this you can substitute the text letter by letter. frec.txt is where the frecuencies will be text.txt is where the encrypted text will be

To run it:

python SSD.py text.txt frec.txt

Example:

frec.txt

THBONKFREGJVUMIYDALCSQWZPX

EAOSRNIDLCTUMPBGVYQHFZJÑXKW

This means that T will be E, H will be A, etc. The first one is the frecuency of the encrypted text, the second one is your language frecuency

text.txt asdflñkjasef lasnf sñadfj lñasnflkasnfkl nasklñh foñkjasñkfjasjdfasf

The output will be the decrypted text.

V.2

Now there's a frequency analyzer which provides the frec.txt for the SSD