Hybrid Encryption Algorithm Based on Spatial and Gray Level Information

Suolan Liu, Chen Chen, Hongyuan WangTELKOMNIKA 2015

Abstract

Based on the analysis of the defects in traditional image scrambling methods, a new hybrid scrambling algorithm is proposed. It utilizes both the image’s spatial and gray level information. Comparative experiments show it has the advantages of easy implementation, a large key space, and a superior scrambling effect achieved through a single-pass process rather than multiple iterations.

1. Introduction

As digital image transmission becomes ubiquitous, securing sensitive visual data—such as military satellite imagery or proprietary design drawings—is paramount. Traditional image encryption often relies on scrambling techniques that fall into two main categories: spatial scrambling and gray level scrambling.

Spatial scrambling, such as the Arnold transform, relocates pixels but leaves the image histogram unchanged, making it vulnerable to statistical attacks. Conversely, gray level scrambling modifies pixel values but often leaves original contours visible. This paper addresses these limitations by proposing a hybrid approach that integrates both features to enhance security and robustness against data loss and compression.

2. Methodology

The proposed hybrid encryption scheme integrates two distinct mechanisms to secure visual data:

  • Gravitation Model (Gray Level Scrambling): This novel approach treats pixels as particles in a 3D space. A "unit particle" placed outside the image plane exerts a gravitational force on every pixel, which is used to shift the pixel's gray value. Since the shift depends on both the pixel's original value and its relative position to the unit particle, it effectively obscures the image's color distribution.
  • Improved Arnold Transform (Spatial Scrambling): The Arnold transform (ART), also known as "cat mapping," is a periodic function used to relocate pixels. The authors improved this transform to handle non-square images of size $M \times N$.

The hybrid process is straightforward: first, the gravitation model scrambles the gray values, and then the improved ART scrambles the pixel positions. Decryption is simply the inverse process.

The resulting encrypted image after applying the hybrid gravitation and Arnold transforms, appearing as random noise.

3. Results and Discussion

The researchers evaluated the algorithm using standard test images to assess its resilience against common transmission issues like data clipping and JPEG-style compression.

3.1 Anti-Clipping Performance

A key advantage of the hybrid method is its robustness through diffusion. In pure gray-level schemes, if a piece of the encrypted image is deleted (clipped), that part of the original image is lost forever. In the hybrid scheme, because pixels are both moved and modified, the error from a clipped region is diffused across the entire image during decryption. This results in a slightly noisier image rather than one with a missing section.

Experimental results for anti-clipping performance: (a) original image, (b) encryption image, (c) clipped encryption image, and (d) the resulting decrypted image showing preserved structure despite data loss.

3.2 Anti-Compression Performance

The algorithm was also tested against varying levels of compression. For color images at a compression quality of 60, the hybrid scheme significantly outperformed standalone methods. Quantitative analysis using a "difference ratio" showed that the hybrid scheme improved the ratio of "slight different pixels" by 9.47% compared to the standalone gravitation model and by 42.47% compared to the pure Arnold transform.

4. Conclusion

The hybrid encryption algorithm provides a robust solution for image security by combining spatial and gray-level scrambling. It achieves high security in a single pass and demonstrates exceptional resilience to data loss and compression. Future work will focus on replacing the periodic Arnold transform with non-periodic chaotic maps to further expand the key space and prevent potential shortcut attacks.

Summary updated

BibTeX
@inproceedings{liu2015hybrid,
  author = {Suolan Liu and Chen Chen and Yue Chen and Hongyuan Wang},
  title = {{Hybrid Encryption Algorithm Based on Spatial and Gray Level Information}},
  booktitle = {TELKOMNIKA},
  year = {2015},
  doi = {10.11591/tijee.v15i3.1575},
}
Figure