Layered Data Security Using Affine Cipher and Pixel Value Differencing Steganography
Keywords:
affine cipher, pixel value differencing, steganography, cryptography, data securityAbstract
This study presents a layered data-security design that combines Affine Cipher encryption with Pixel Value Differencing (PVD) image steganography. The first layer transforms plaintext into ciphertext using a monoalphabetic affine transformation, while the second layer conceals the ciphertext in neighboring image pixels according to local pixel differences. The method is reconstructed as a consistent Affine-PVD workflow and verified through deterministic worked examples rather than unsupported attack-success claims. Using the uppercase alphabet with keys a = 5 and b = 8, the plaintext “DATA” is transformed into “XIZI” and correctly recovered with the modular inverse. In the PVD verification, the pixel pair (100, 108) embeds the three-bit sequence 101 by changing the difference from 8 to 13, producing a valid modified pair (98, 111); extraction recovers the same bit sequence. These results confirm algorithmic reversibility of the two stages. The combined approach provides confidentiality and concealment as separate layers, but Affine Cipher remains a classical cipher and PVD is susceptible to steganalysis. Therefore, the design is appropriate as a prototype or instructional security model rather than a substitute for modern cryptographic protection.
References
Menezes, A. J., van Oorschot, P. C., & Vanstone, S. A. (1996). Handbook of Applied Cryptography. CRC Press.
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
Zhang, X., & Wang, S. (2004). Vulnerability of pixel-value differencing steganography to histogram analysis and modification for enhanced security. Pattern Recognition Letters, 25(3), 331-339. https://doi.org/10.1016/j.patrec.2003.10.014
Wu, H.-C., Wu, N.-I., Tsai, C.-S., & Hwang, M.-S. (2005). Image steganographic scheme based on pixel-value differencing and LSB replacement methods. IEE Proceedings - Vision, Image and Signal Processing, 152(5), 611-615. https://doi.org/10.1049/ip-vis:20059022
Wang, C.-M., Wu, N.-I., Tsai, C.-S., & Hwang, M.-S. (2008). A high quality steganographic method with pixel-value differencing and modulus function. Journal of Systems and Software, 81(1), 150-158. https://doi.org/10.1016/j.jss.2007.01.049
Yang, C.-H., Weng, C.-Y., Wang, S.-J., & Sun, H.-M. (2008). Adaptive data hiding in edge areas of images with spatial LSB domain systems. IEEE Transactions on Information Forensics and Security, 3(3), 488-497. https://doi.org/10.1109/TIFS.2008.926097
Khodaei, M., & Faez, K. (2012). New adaptive steganographic method using least-significant-bit substitution and pixel-value differencing. IET Image Processing, 6(6), 677-686. https://doi.org/10.1049/iet-ipr.2011.0059
Rachmawati, D., & Candra, A. (2015). Implementasi kombinasi Caesar dan Affine Cipher untuk keamanan data teks. JEPIN (Jurnal Edukasi dan Penelitian Informatika), 1(2). https://doi.org/10.26418/jp.v1i2.12587
Sahu, A. K., & Swain, G. (2016). A review on LSB substitution and PVD based image steganography techniques. Indonesian Journal of Electrical Engineering and Computer Science, 2(3), 712-719. https://doi.org/10.11591/ijeecs.v2.i3.pp712-719
Khodaei, M., Sadeghi Bigham, B., & Faez, K. (2016). Adaptive data hiding, using pixel-value-differencing and LSB substitution. Cybernetics and Systems, 47(8), 617-628. https://doi.org/10.1080/01969722.2016.1214459
Siregar, I. M. (2019). Penerapan algoritma Affine Cipher dan algoritma Columnar Transposition dalam keamanan teks. Jurnal Informatika Kaputama, 3(1), 6-12. https://doi.org/10.59697/jik.v3i1.391
Munir, R. (2019). Kriptografi (Edisi Kedua). Informatika Bandung.
Alhomoud, A. M. (2021). Image steganography in spatial domain: Current status, techniques, and trends. Intelligent Automation & Soft Computing, 27(1), 69-88. https://doi.org/10.32604/iasc.2021.014773
Khairani, T., Santoso, K. A., Santoso, K. A., & Kamsyakawuni, A. (2021). Pengkodean monoalphabetic menggunakan Affine Cipher dengan kunci Diffie-Hellman. PRISMA, Prosiding Seminar Nasional Matematika, 4, 553-559.
Alade, O. M., Amusan, E. A., Adedeji, O. T., & Alo, O. O. (2021). Image steganography using Pixel Value Differencing (PVD) technique based on Firefly Algorithm. Journal of Scientific Research and Reports, 27(7), 80-86. https://doi.org/10.9734/jsrr/2021/v27i730414
Diana, I. N. (2022). Algoritma super enkripsi (Affine Cipher dan Cipher Transposisi Grup Simetri) untuk mengamankan pesan teks. KUBIK: Jurnal Publikasi Ilmiah Matematika, 7(1). https://doi.org/10.15575/kubik.v7i1.17419





