Caesar cipher and letter frequency: A statistical solution

  • Matheus da Silva Santos IFMT

Abstract


This work explores the use of letter frequency analysis in solving substitution ciphers, using the Caesar cipher as the basis of the study. Using a combination of literary texts and musical lyrics, an algorithm was developed to normalize characters and calculate the frequencies of each letter. From the comparison between the frequency observed in a cipher text and the expected frequencies, it was possible to decipher the message by statistical approximation. The results demonstrate that statistical analysis is an efficient and practical solution for breaking simple ciphers.
Keywords: Caesar Cipher, Programming, Statistics

References

Paar, C. and Pelzl, J. (2010) Understanding Cryptography: A Textbook for Students and Practitioners, Springer, Germany.

Gregório, M. B. dos S., Barvinski, C. A., Odakura, V., e Sanabria, L. (2014) “CriptoMat1: Ensinando Matemática Utilizando Conceitos de Criptografia - Cifra de César e César Estendida.”

Costa, C., & Figueiredo, L. M. (2010). Introdução à Criptografia.Fundação CECIERJ, Rio de Janeiro.
Published
2024-11-07
SANTOS, Matheus da Silva. Caesar cipher and letter frequency: A statistical solution. In: REGIONAL SCHOOL ON INFORMATICS OF MATO GROSSO (ERI-MT), 13. , 2024, Alto Araguaia/MT. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2024 . p. 168-170. ISSN 2447-5386. DOI: https://doi.org/10.5753/eri-mt.2024.245839.