Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 1 March 2024

Application of Unimodular Hill Cipher and RSA Methods to Text Encryption Algorithms Using Python

Samsul Arifin1, Dwi Wijonarko2, Suwarno3 & Edwin Kristanto Sijabat4

Journal of Computer Science, Volume 20, Issue 5, pp. 548–563 · doi.org/10.3844/jcssp.2024.548.563

6,484 accesses3,166 downloads1 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
Application of Unimodular Hill Cipher and RSA Methods to Text Encryption Algorithms Using PythonJournal of Computer Science · Volume 20, Issue 5 · pp. 548–563 · CC BY 4.0Download