For joint image compression and encryption schemes, the encryption power and compression efficiency are commonly two contradictory things. In this paper, we propose a new joint image compression and encryption scheme based on lossy JPEG standard, which aims at encryption power's enhancement, on the premise of maintaining JPEG's compression efficiency. The proposed scheme is image-content-adaptive, since the secret encryption key is generated from the plain-image using BLAKE2 hash algorithm. Three encryption operations are contained in our scheme, alternating new orthogonal transforms transformation, DC coefficients encryption, and AC coefficients encryption. To save the cost for transmitting different encryption keys each time to decoder for decryption when plain-image changes, we propose to embed the encryption key into the entropy encoded bitstream of some AC coefficients, and the whole embedding procedure is controlled by another secret key called embedding key. Extensive experiments are conducted to show that our encryption scheme is JPEG friendly, and has good confusion and diffusion properties. Detailed security analysis is also given to illustrate the proposed scheme's persistence to various cryptanalysis strategies.
26 February 2024 in IEEE Transactions on Circuits and Systems for Video Technology
Image retrieval systems help users to browse and search among extensive images in real time. With the rise of cloud computing, retrieval tasks are usually outsourced to cloud servers. However, the cloud scenario brings a daunting challenge of privacy protection as cloud servers cannot be fully trusted. To this end, image-encryption-based privacy-preserving image retrieval (PPIR) schemes have been developed, which first extract features from cipher-images, and then build retrieval models based on these features. Yet, most existing PPIR approaches extract shallow features and design trivial unsupervised retrieval models, resulting in insufficient expressiveness for the cipher-images. In this paper, we propose a novel paradigm named Encrypted Vision Transformer (EViT), which advances the discriminative representations capability of cipher-images. First, to capture comprehensive ruled information, we extract multi-level local length sequence and global Huffman-Code frequency features from the cipher-images which are encrypted by permutation encryption, sign encryption, and stream cipher during the JPEG compression process. Second, we design the modified self-supervised Vision Transformer with Huffman-embedding and propose two robust data augmentations on cipher-images to improve representation power of the retrieval model. Moreover, our proposal can be easily adapted to unsupervised or supervised settings. Extensive experiments reveal that EViT achieves both excellent encryption and retrieval performance, outperforming current schemes in terms of retrieval accuracy by large margins while protecting image privacy effectively. Code is publicly available at https://github.com/onlinehuazai/EViT.
Image encryption is an effective method to prevent images from being captured or stored illegally. With the increasing demand for image security and transmission efficiency, this paper proposes a color image encryption algorithm based on chaotic systems, which combines block-based DNA coding and compressive sensing. Firstly, the plain image is compressed using compressive sensing (CS) to obtain three measurement value matrices, which are then quantized into integer matrices and permuted by the method of the Josephus problem. Subsequently, the scrambled measurement value matrices are divided into subblocks. These subblocks are encoded by random DNA rules, diffused by chaotic sequences-based DNA operations, and dynamically decoded. It is worth noting that the initial values of the chaotic systems used for the DNA operations and the generation of the measurement matrices depend on the plain image, which enables our algorithm to withstand well the chosen-plaintext attacks and the known-plaintext attacks. Moreover, we utilize singular value decomposition ( SVD ) to optimize the measurement matrices to enhance the reconstruction quality of the encrypted image. Simulation results and security analysis show that the algorithm has excellent compression and encryption performance and is resistant to various typical attacks.
Joint image compression and encryption techniques can be used to ensure the security of JPEG images. The related works in this field face problems such as low compression efficiency, limited protection power, and corrupted format information. In this paper, we propose a new JPEG protection method by introducing encryption operations into the compression process. Considering that different images have different properties, instead of using a fixed block size for encryption, we develop a new block segmentation strategy to first divide the plain-image into two different sizes of blocks, $8\times 8$ and $16\times 16$ , followed by corresponding size of DCT’s transformation. The strategy can ensure that the file size increment and rate-distortion are minimal. After block transformation and quantization, we encrypt DC coefficients by XOR and swapping, while AC coefficients are protected through block permutation and data embedding. The experiments show that our scheme does not compromise JPEG’s compression efficiency, offers satisfied security and maintains the format-compliant of the final encrypted bitstream to JPEG’s decoder.