Implementation of Rabin cryptography and parity-based pixel-difference steganography for hiding text messages in PNG images
PDF (English)

Cara Mengutip

Azhura, R., & Haris, M. (2026). Implementation of Rabin cryptography and parity-based pixel-difference steganography for hiding text messages in PNG images. Jurnal Sains, Teknologi &Amp; Komputer, 3(3), 157–167. https://doi.org/10.56495/saintek.v3i3.1689

Abstrak

This study implemented Rabin cryptography and pixel-difference parity-based steganography to embed and recover text messages in PNG images. An experimental approach was adopted by developing a PHP-based local web application and evaluating its functions through black-box testing. The messages were encoded using ASCII and encrypted through Rabin modular squaring. The resulting ciphertext was embedded by adjusting the parity of blue-channel differences between adjacent pixel pairs. Extraction and decryption were performed to reconstruct the original plaintext. Testing with PIN:121314 and prime numbers 383 and 503 generated a public modulus of 192649 and ten ciphertext values. Modular verification confirmed the encryption results and the selection of decryption candidates. Among 30 documented pixel pairs, 13 required blue-channel adjustment while 17 retained their original values. The original message was successfully recovered, and all eight functional test scenarios produced the expected outputs. The findings demonstrate the integration of encryption, embedding, extraction, and decryption within a single image-based message processing application.

https://doi.org/10.56495/saintek.v3i3.1689
PDF (English)

Referensi

Alanzy, M., Alomrani, R., Alqarni, B., & Almutairi, S. M. (2023). Image steganography using LSB and hybrid encryption algorithms. Applied Sciences, 13(21), Article 11771. https://doi.org/10.3390/app132111771

Alenizi, A., Mohammadi, M. S., Al-Hajji, A. A., & Ansari, A. S. (2024). A review of image steganography based on multiple hashing algorithm. Computers, Materials & Continua, 80(2), 2463–2494. https://doi.org/10.32604/cmc.2024.051826

Aljughaiman, A., & Alrawashdeh, R. (2026). Content-adaptive LSB steganography with saliency fusion, ACO dispersion, and hybrid encryption with ablation study. Scientific Reports, 16, Article 3829. https://doi.org/10.1038/s41598-025-33920-9

Azzahra, F., Girinoto, & Setyawan, F. G. (2024). Implementasi Rabin public key cryptosystem dalam skema enkripsi dekripsi pesan dengan Telegram Bot. Info Kripto, 18(3), 111–117. https://doi.org/10.56706/ik.v18i3.113

Jebur, S. A., Nawar, A. K., Kadhim, L. E., & Jahefer, M. M. (2023). Hiding information in digital images using LSB steganography technique. International Journal of Interactive Mobile Technologies, 17(7), 167–178. https://doi.org/10.3991/ijim.v17i07.38737

Kadhem, E. L., & Baawi, S. S. (2023). A secure and high capacity image steganography approach using Huffman coding and RSA encryption. Journal of Al-Qadisiyah for Computer Science and Mathematics, 15(2), 35–50. https://doi.org/10.29304/jqcm.2023.15.2.1231

Kumbhakar, D., Sanyal, K., & Karforma, S. (2023). An optimal and efficient data security technique through crypto-stegano for E-commerce. Multimedia Tools and Applications, 82(14), 21005–21018. https://doi.org/10.1007/s11042-023-14526-7

Manalu, D. C. R., Enjelina, M., & Sipayung, J. B. J. (2024). Perbandingan performance kriptografi RSA, RSA-CRT, Rabin dalam proses pengamanan pesan berbasis teks. Jurnal Quancom: Quantum Computer Jurnal, 2(2), 23–30. https://doi.org/10.62375/jqc.v2i2.417

Murthy, N. N., & Hegde, V. (2024). Secure data hiding: A comprehensive LSB-based steganography framework with cryptographic enhancements. In 2024 8th International Conference on Computational System and Information Technology for Sustainable Solutions (CSITSS). IEEE. https://doi.org/10.1109/CSITSS64042.2024.10817051

Naveen, P., & Jayaraghavi, R. (2024). Image steganography method for securing multiple images using LSB–GA. Wireless Personal Communications, 135(1), 1–19. https://doi.org/10.1007/s11277-024-10945-3

Panigrahi, R., & Padhy, N. (2025). An effective steganographic technique for hiding the image data using the LSB technique. Cyber Security and Applications, 3, Article 100069. https://doi.org/10.1016/j.csa.2024.100069

Pardosi, S. S. P., Manik, M., & Situmorang, I. M. (2024). Pengujian dan analisis teknik steganografi menggunakan metode Playfair, ElGamal, dan LSB untuk penyembunyian data pada gambar digital dalam aplikasi modern. Jurnal Quancom: Quantum Computer Jurnal, 2(2), 17–22. https://doi.org/10.62375/jqc.v2i2.422

Rabin, M. O. (1979). Digitalized signatures and public-key functions as intractable as factorization (MIT/LCS/TR-212). Massachusetts Institute of Technology, Laboratory for Computer Science. https://hdl.handle.net/1721.1/149499

Rahman, S., Uddin, J., Hussain, H., Shah, S., Salam, A., Amin, F., de la Torre Díez, I., Ramírez Vargas, D. L., & Martínez Espinosa, J. C. (2025). A novel and efficient digital image steganography technique using least significant bit substitution. Scientific Reports, 15, Article 107. https://doi.org/10.1038/s41598-024-83147-3

Saragih, E., Siregar, D., & Dafitri, H. (2023). Implementasi penyisipan pesan teks terenkripsi menggunakan kriptografi ElGamal pada citra digital menggunakan steganogarafi LSB. Jurnal SAINTIKOM (Jurnal Sains Manajemen Informatika dan Komputer), 22(2), 464–473. https://doi.org/10.53513/jis.v22i2.8755

Wildan, M., & Ashari, W. M. (2024). Text data security using LCG and CBC with steganography technique on digital image. Journal of Applied Informatics and Computing, 8(2), 400–407. https://doi.org/10.30871/jaic.v8i2.8457

Wu, D.-C., & Tsai, W.-H. (2003). A steganographic method for images by pixel-value differencing. Pattern Recognition Letters, 24(9–10), 1613–1626. https://doi.org/10.1016/S0167-8655(02)00402-6

Creative Commons License

Artikel ini berlisensiCreative Commons Attribution-ShareAlike 4.0 International License.

Hak Cipta (c) 2026 Reynaza Azhura, Muhammad Haris