Visualising frequency analysis in encrypted massages using Caesar and Vigenère ciphers

mak

Соломенные сандалии
Администратор
Сообщения
755
Реакции
524
Visualising frequency analysis in encrypted massages using Caesar and Vigenère ciphers
https://jrinconada.medium.com/cracking-caesar-cipher-8fe79226aabd

The Caesar cipher is a method of message encryption easily crackable using frequency analysis. To evade this analysis our secrets are safer using the Vigenère cipher. This is the advantage of using a polyalphabetic cipher over an affine monoalphabetic substitution cipher, in other words: the same letter is not always encrypted the same way.

To make sense of all of this estrange words I made a Python script that encrypts a massage using both Caesar and Vigenère ciphers and performs a letter frequency analysis plotting some pretty graphs to illustrate it all.

This articles tries to explain the whole process going through the code and the output. The complete project with the full code and usage instructions can be found here: https://github.com/jrinconada/cracking-caesar-cipher
 
Верх Низ