A Generative Adversarial Network-Based Framework for Cryptographic Key Generation in Image Encryption
DOI:
https://doi.org/10.64764/e60dax25Keywords:
Image encryption, Deep Learning, WGAN-GP, key generation, HKDF, permutation-diffusion, NPCR, UACIAbstract
Secure deep learning-based image encryption techniques can benefit from strong cryptographic key generation, reproducibility, and resilience to differential attacks. Some current methods to generate cryptographic keys using autoencoders may need supplementary side information for effective key reconstruction at the destination. This paper presents HybridCrypt-GAN (HC-GAN), which is a framework based on GAN to generate keys for image encryption. The proposed method relies on WGAN-GP architecture that takes a secret key and keyed plaintext digest as input. The output of the generator is quantized and combined with SHA-512 in a hierarchical key derivation system (HKDF). A valid key is then used to drive a three-round cipher that has a diffusion stage and a specific round for final output. The conducted experiments demonstrate successful decryption of five test images with sizes of 786432 bytes each. Modification of one bit of the plaintext led to NPCR of 99.61% and average UACI of 33.4647%. Additionally, the global entropy of the ciphertext is measured as equal to 7.99976. Ablation studies show that removing the plaintext tag leads to NPCR of 50.39% after one cycle of diffusion and nearly 99.61% after two cycles.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Author(s)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






