Application of Unimodular Hill Cipher and RSA Methods to Text Encryption Algorithms Using Python
Samsul Arifin1, Dwi Wijonarko2, Suwarno3 & Edwin Kristanto Sijabat4 Show affiliations
- Department of Data Science, Faculty of Engineering and Design, Institut Teknologi Sains Bandung; Bekasi, West Java, Indonesia
- Department of Information Technology, Faculty of Computer Science, University of Jember, Jember, East Java, Indonesia
- Department of Primary Teacher Education, Faculty of Humanities, Bina Nusantara University, Jakarta, Indonesia
- Department of Pulp and Paper Processing Technology, Faculty of Vocational, Institut Teknologi Sains Bandung; Bekasi, West Java, Indonesia
Journal of Computer Science, Volume 20, Issue 5, pp. 548–563 · doi.org/10.3844/jcssp.2024.548.563
Abstract
Text encryption is one of the techniques used to maintain the confidentiality of information in digital communications. In this study, we propose to apply a combination of the Unimodular Hill Cipher and RSA methods to a text encryption algorithm using the Python programming language. The Unimodular Hill Cipher method uses an unimodular matrix to replace text characters with encrypted characters, while RSA (Rivest-Shamir-Adleman) is a public key encryption algorithm that relies on modulo arithmetic properties. The purpose of this research is to combine the strengths of the two methods and produce a more secure text encryption system. Unimodular Hill Cipher provides the advantage of randomizing text characters by using matrix modulo operations, while RSA provides a high level of security through the use of public and private key pairs. In this study, we explain in detail the basic theory and algorithms of the Unimodular Hill Cipher and RSA. We also describe the implementation steps of both methods in the Python programming language. The text data used in this study went through a preprocessing stage before being encrypted. We also analyze the results of the encryption using several statistical methods to measure how close the relationship between the original text and the result of the encryption is. In a comparative analysis with the previous paper, in this study, the use of the Unimodular Hill Cipher and RSA methods in the context of Python provides additional insight into the performance and level of security of both. The experimental results show that the combination of the Unimodular Hill Cipher and RSA methods can produce a higher level of security in text encryption. It is hoped that this research can contribute to the development of a more effective and secure text encryption algorithm.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Arifin, S., Wijonarko, D., Suwarno, & Sijabat, E. K. (2024). Application of Unimodular Hill Cipher and RSA Methods to Text Encryption Algorithms Using Python. Journal of Computer Science, 20(5), 548–563. https://doi.org/10.3844/jcssp.2024.548.563
- Licence
- CC BY 4.0
- Issue
- Volume 20, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
