A Unified Reversible Data Hiding Framework for Block-Scrambling Encryption-then-Compression Systems
Ruifeng Li, Masaaki Fujiyoshi · Information · 2026
Encryption-then-compression (EtC) based on block scrambling enables privacy-preserving image sharing while maintaining compatibility with standard image codecs, yet it disrupts the spatial correlations and synchronization cues required by conventional reversible data hiding (RDH). This difficulty is further amplified in grayscale-based EtC pipelines, where RGB-to-YCbCr conversion and component serialization introduce representation shifts and non-bijective rounding/clamping effects, complicating reliable embedding and extraction. This paper presents a unified RDH framework compatible with both RGB-based and grayscale-based block-scrambling EtC systems, without altering the underlying encryption procedures. The core idea is to restore embedding and extraction synchronization directly in the encrypted domain using two encryption-invariant cues: diagonal pixel absolute difference (DPAD) and an encryption-invariant synchronization index (EISI), together with domain-consistent handling of the grayscale conversion pipeline. Experimental results on standard datasets demonstrate perfect reversibility and stable embedding performance under the evaluated settings, with negligible impact on lossless compressibility. We further observe that the proposed embedding can increase statistical dispersion within encrypted blocks; although not designed as a security enhancement, this effect degrades the performance of representative texture-based analyses in the considered ciphertext-only setting.