Jurnal Sains, Teknologi dan Komputer
Vol. 3 No. 3 (2026): Jurnal Sains, Teknologi & Komputer (SAINTEK)

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

Reynaza Azhura (Universitas Muhammadiyah Sumatera Utara)
Muhammad Haris (Universitas Muhammadiyah Sumatera Utara)



Article Info

Publish Date
20 Oct 2026

Abstract

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.

Copyrights © 2026






Journal Info

Abbrev

SAINTEK

Publisher

Subject

Agriculture, Biological Sciences & Forestry Chemistry Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management

Description

Jurnal SAINTEK adalah singkatan dari Sains, Teknologi dan Komputer, yang diterbitkan oleh Lembaga Riset Mutiara Akbar (LARISMA), merupakan jurnal ilmiah yang berfungsi sebagai media mengkomunikasikan ide, gagasan dan pemikiran seputar kajian aktual tentang sains, teknologi, komputer dan manajemen IT ...