Pseudo-homophonic Hill enigma ciphers encrypting to trigram ciphertext
*Porter E. CogginsCorresponding authorporter.coggins@bemidjistate.eduSchool of EducationBemidji State UniversityBemidji, Minnesota, 56601, U.S.A.0000-0003-3734-5478View full profile →
* Corresponding author · click or hover a name for details
- Received:
- 01 Nov 2025
- Published Online:
- 25 Nov 2026
- Article type:
- Research Article
- Language:
- EN
- Article no.:
- JDMSC-2688
Abstract
A novel Hill Cipher – type encryption scheme is presented that has characteristics of a homophonic cipher and in which each plaintext character is mapped to a trigram of ciphertext characters. Both the Homophonic Cipher and Hill Cipher continue to generate research today from the time of the seminal works in the 20th century. The Homophonic Cipher is a polyalphabetic substitution stream cipher that encrypts as close to a uniform frequency distribution of ciphertext characters as possible by allowing some or all plaintext characters to map to a different ciphertext character with each occurrence of the particular plaintext character. The Hill Cipher is a polyalphabetic block cipher that encrypts blocks of plaintext through techniques of linear algebra in the context of matrices and produce ciphertext that take advantage of the process of multiplication between a plaintext vector and a key matrix. There is a gap in the literature explicitly relating the homophonic cipher to the Hill Cipher under certain conditions. Thus, a novel, new encryption scheme is presented in which each plaintext character is mapped to several ciphertext characters at the same time combining a homophonic cipher and a Hill Cipher. Due to the rotating elements of the 2 x 2 matrices and similarity to the German Enigma Encoder, these encryption scheme variations are referred to as Hill Enigma Ciphers. Multiple examples are given.
Keywords
Subject Classifications
References
[1] F. Stahl, “A homophonic cipher for computational cryptography,” Report R-599, UILU-ENG 73-2201, Coordinated Science Laboratory, University of Illinois at Urbana-Champaign (1973). [Online]. Available: https://www.ideals.illinois.edu/items/99887
[2] L. S. Hill, “Cryptography in an algebraic alphabet,” The American Mathematical Monthly, Vol. 36, No. 6, pp. 306-312. (Jun. - Jul., 1929) [Online]. Available: https://ubicua.cua.uam.mx/pluginfile.php/52448/mod_resource/content/3/Hill1.pdf
[3] L. S. Hill, “Concerning certain linear transformation apparatus of cryptography,” The American Mathematical Monthly, Vol. 38, No. 3., pp. 135-154, (March 1931). [Online]. Available: https://www.jstor.org/stable/2300969?origin=JSTOR-pdf&seq=1
[4] E. Nesbit, The Railway Children, Project Gutenberg, [Online]. Available: https://www.gutenberg.org/ebooks/1874
[5] German Enigma Encoding Machine [Online]. Available: https://www.cia.gov/legacy/museum/artifact/enigma-machine/
[6] English Language Frequency Distribution [Online]. Available: https://pi.math.cornell.edu/~mec/2003-2004/cryptography/subs/frequencies.html
[7] B. Ryabko and A. Fionov, “Efficient homophonic coding”, IEEE Transactions on Information Theory, vol. 45, no. 6, pp. 2083-2091, (1999). [Online]. Available: https://ieeexplore.ieee.org/document/782143 DOI:10.1109/18.782143
[8] V.C. da Rocha Jr., C. Pimentel, and D.P.B.A. Camara, “Redundancy in homophonic coding and a new homophonic coding technique”, in Proceedings IEEE International Symposium on Information Theory, (June 2006). [Online]. Available: https://www.researchgate.net/publication/258222630_Redundancy_in_homophonic_coding_and_a_new_homophonic_coding_technique DOI:10.1109/ISIT.2006.262006
[9] D.K. Simões, J. Portugheis, and V.C. da Rocha Jr., “Universal homophonic coding scheme using differential encoding and interleaving”, Information Processing Letters, vol. 113 no. 17, pp. 628-633, (August 2013). [Online]. Available: https://www.sciencedirect.com/science/article/pii/S002001901300152X DOI: 10.1016/j.ipl.2013.05.010
[10] P.E. Coggins, III and T. Glatzer, “An algorithm for a matrix-based Enigma encoder from a variation of the Hill Cipher as an application of 2 x 2 matrices”, Primus, vol. 30, n. 1, pp. 1-18, (2020). DOI: 10.1080/10511970.2018.1493010
[11] P.E. Coggins, “Two novel multidimensional affine variations of the Hill Cipher”, Mathematics and Computer Science, vol. 9, no. 3, pp. 46-56, (2024). DOI: 10.11648/j.mcs.20240903.11
[12] D. Hamdani and Junaidi, “Modifikasi karaketer kode pada Cipher Hill menggunakan kode ASCII”, Eigen Mathematics Journal, vol. 03, no. 01, pp. 23-28, (June 2020). DOI: org/10.29303/emj.v3i1.54
[13] D. Jurafsky and J.H. Martin, N-Gram Language Models, Chapter 3, Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models Third Edition draft. [Online]. Available: https://web.stanford.edu/~jurafsky/slp3/ed3book_aug25.pdf




