Abstract
Only by means of XOR operation, a novel image encryption scheme is proposed based on a nonlinear chaotic map (NCM). There are two rounds in the proposed image encryption scheme. In each round of the scheme, the pixel gray values are modified from the first pixel to the last pixel firstly, and then the modified image is encrypted from the last pixel to the first pixel in the inverse order. In order to accelerate the encryption speed, every time NCM is iterated, $n$ ($n>3$) bytes random numbers which are used to mask the plain-image can be gained. And to enhance the security, a small perturbation will be given to the parameters of the NCM based on the last obtained $n$ bytes modified elements before next iteration. Experimental results and theory analysis show that the algorithm has a high security performance and a good efficiency.
Introduction
Digital images possess high redundancy and strong correlations between adjacent pixels, often spanning 8 to 16 pixels in any direction. Traditional encryption algorithms like DES or IDEA, designed for low-volume text data, are often inefficient for visual data. While chaotic maps—mathematical systems highly sensitive to initial conditions—offer a promising alternative, many early schemes suffered from low sensitivity or vulnerability to chosen-plaintext attacks. This paper introduces a high-speed image encryption scheme leveraging a Nonlinear Chaotic Map (NCM) and simple XOR operations to achieve robust security and real-time efficiency.
Methodology
The proposed scheme utilizes a two-round encryption process built on a specific Nonlinear Chaotic Map. The NCM uses complex trigonometric functions (tan and ctan) to generate chaotic sequences with excellent nonlinearity and balanced 0-1 ratios.
Key innovations include:
- Multi-byte Generation: To boost speed, the scheme extracts $n$ bytes ($n > 3$) from a single double-precision value produced by the NCM per iteration, rather than the standard single byte.
- Dynamic Perturbation: To resist chosen-plaintext attacks, the chaotic map parameters ($\alpha$ and $\beta$) are perturbed after every $n$ bytes based on previously encrypted pixel values. This feedback loop ensures that changes in the plaintext propagate throughout the ciphertext.
- Two-Round Processing: Each round processes the image twice: forward (first to last pixel) and backward (last to first pixel), as illustrated in the flowchart above.
Experimental Results
The algorithm was evaluated using the standard 256×256 grayscale Lena.bmp image.
Statistical analysis yielded the following results:
- Efficiency: Encryption of a 256x256 image took between 0.05 and 0.12 seconds on a Pentium D CPU, depending on the value of $n$.
- Information Entropy: The entropy reached approximately 7.997, nearly matching the ideal value of 8 for random distributions.
- Correlation: Adjacent pixel correlation dropped from ~0.96 in the original image to 0.0029 in the ciphertext, effectively removing discernible patterns.
- Security: A key space of $10^{90}$ makes brute-force attacks computationally infeasible.
Conclusion
The proposed NCM-based scheme offers a lightweight yet secure solution for image encryption. By combining multi-byte extraction for speed and dynamic perturbation for diffusion, it addresses the limitations of previous chaotic ciphers. Future work may explore extending this logic to color (RGB) images and automatically optimizing the parameter $n$ to balance speed and randomness for specific applications.
Summary updated