The Use of Miller-Rabin in Testing Prime Numbers in the Rsa Algorithm to Secure Files

Authors

  • Wanda Yohana STMIK KAPUTAMA

DOI:

https://doi.org/10.59934/jaiea.v5i1.1685

Keywords:

Cryptography, Miller-Rabin, RSA, File Security,

Abstract

The development of digital technology has facilitated data exchange, but it has also increased security risks such as wiretapping and file manipulation. One of the most widely used cryptographic methods for maintaining data confidentiality is the RSA algorithm, whose security depends on large prime numbers as keys. This study utilizes the Miller-Rabin algorithm as a probabilistic primality testing method to ensure the prime numbers used in RSA key generation. The research was conducted by building a system using the Python programming language, which included the process of testing prime numbers with Miller-Rabin, RSA key generation, and document file encryption and decryption. The test results showed that Miller-Rabin was effective in validating large prime numbers and helped speed up the RSA key generation process, so that files could be secured with ciphertext that could be returned to plaintext without data loss. Thus, the implementation of Miller-Rabin in the RSA algorithm has been proven to improve the reliability of digital file security systems.

Downloads

Download data is not yet available.

References

M. Mulya, “Perancangan Perangkat Lunak dengan Metode RSA dengan Pembangkit Bilangan Prima Secara Opsional,” JUPITER (Jurnal Penelitian Ilmu dan Teknologi …, vol. 7, no. 1, pp. 1–7, 2015, [Online]. Available: https://www.jurnal.polsri.ac.id/index.php/jupiter/article/view/705

N. Liem, “Penerapan Teori Bilangan pada Algoritma Pembangkit Bilangan Prima untuk Kriptosistem RSA,” Penerapan Teori Bilangan pada Algoritma Pembangkit Bilangan Prima untuk Kriptosistem RSA, pp. 1–7, 2023.

M. M. Amin, “IMPLEMENTASI KRIPTOGRAFI KLASIK PADA KOMUNIKASI BERBASIS TEKS,” vol. III, no. September, pp. 129–136, 2016.

S. J. Siregar, N. B. Nugroho, and H. Sigalingging, “Implementasi Algoritma Kriptografi RSA (Rivest Shamir Adleman) Dalam Pengamanan Data Gaji Karyawan Di Kantor BSPJI,” Jurnal SAINTIKOM (Jurnal Sains Manajemen Informatika dan Komputer), vol. 22, no. 2, p. 528, 2023, doi: 10.53513/jis.v22i2.9409.

M. Amin, “Komunikasi Berbasis Teks,” M. Miftakul Amin, vol. III, no. September, pp. 129–136, 2016.

C. Christian, S. H. Sitorus, and I. Nirmala, “Implementasi Algoritma Rsa Dan One Time Password (Otp) Untuk Pengamanan Data Pengguna Dan Proses Transaksi Pada Website E-Commerce,” Coding Jurnal Komputer dan Aplikasi, vol. 11, no. 1, p. 62, 2023, doi: 10.26418/coding.v11i1.58684.

U. Indriani, O. Alfina, and N. Syahputri, “Penerapan Algoritma RSA Dalam Keamanan File Ms Word,” ulfah indriani, vol. 01, no. 02, pp. 95–100, 2021, [Online]. Available: http://repository.potensi-utama.ac.id/jspui/handle/123456789/5074

Downloads

Published

2025-10-15

How to Cite

Wanda Yohana. (2025). The Use of Miller-Rabin in Testing Prime Numbers in the Rsa Algorithm to Secure Files. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(1), 1664–1673. https://doi.org/10.59934/jaiea.v5i1.1685