Revealing Encoded Images Using a Generative Adversarial Network
Marcial Bonilla-Marín (),
José Tuxpan-Vargas and
Eric Campos-Cantón
Additional contact information
Marcial Bonilla-Marín: División de Control y Sistemas Dinámicos, Instituto Potosino de Investigación Científica y Tecnológica, A.C.: San Luis Potosí, San Luis Potosí 78216, Mexico
José Tuxpan-Vargas: División de Geociencias Aplicadas, Instituto Potosino de Investigación Científica y Tecnológica, A.C.: San Luis Potosí, San Luis Potosí 78216, Mexico
Eric Campos-Cantón: División de Control y Sistemas Dinámicos, Instituto Potosino de Investigación Científica y Tecnológica, A.C.: San Luis Potosí, San Luis Potosí 78216, Mexico
Mathematics, 2025, vol. 13, issue 23, 1-29
Abstract:
In this work, we address a special challenge for a generative adversarial network, which is to reveal images encoded using dynamic S-boxes based on a cryptographically secure pseudo-random number generator. S-boxes are generated by the logistic function with two time series with delays, resulting in a robust coding. A conditional generative adversarial network (cGAN) designed for image translation is used. Experiments were performed on datasets where image intensity levels varied between 256, 128, 64, 32, and 16 while keeping the image size constant. The main findings can be summarized as follows: a cGAN can be trained to reveal images encoded by S-boxes; the quality of the translated images improves as the number of intensity levels decreases, with images with 16-intensity levels being the sharpest and sharpness decreasing as intensity levels increase; and in an experiment where the input and output images were reversed, cGAN was found to learn to encode images according to the S-boxes method. It was found that a double translation, consisting of first encoding a real image by the reverse experiment and then a second translation to reveal the encoded image, recovered the original image. The translated training and test images resulting from these experiments were evaluated using binary analysis and metrics derived from the confusion matrix.
Keywords: revealing images; cGAN/U-Net; enhanced resolution; encrypted images; feedback GANs; intensity levels; Pix2Pix (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/13/23/3788/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/23/3788/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:23:p:3788-:d:1803146
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().