Next Article in Journal
Spatial and Temporal Entropies in the Spanish Football League: A Network Science Perspective
Next Article in Special Issue
Magnetic Resonance Image Quality Assessment by Using Non-Maximum Suppression and Entropy Analysis
Previous Article in Journal
Balanced Quantum-Like Bayesian Networks
Previous Article in Special Issue
Evolution of Neuroaesthetic Variables in Portrait Paintings throughout the Renaissance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Image Encryption Algorithm Based on Composite Chaos and Hyperchaos Combined with DNA Coding

1
Electronic Engineering College, Heilongjiang University, Harbin 150080, China
2
Kunpad Communications(KunShan) Co., Ltd., Kunshan 215300, China
*
Author to whom correspondence should be addressed.
Entropy 2020, 22(2), 171; https://doi.org/10.3390/e22020171
Submission received: 18 December 2019 / Revised: 31 January 2020 / Accepted: 31 January 2020 / Published: 2 February 2020
(This article belongs to the Special Issue Entropy in Image Analysis II)

Abstract

:
In order to obtain chaos with a wider chaotic scope and better chaotic behavior, this paper combines the several existing one-dimensional chaos and forms a new one-dimensional chaotic map by using a modular operation which is named by LLS system and abbreviated as LLSS. To get a better encryption effect, a new image encryption method based on double chaos and DNA coding technology is proposed in this paper. A new one-dimensional chaotic map is combined with a hyperchaotic Qi system to encrypt by using DNA coding. The first stage involves three rounds of scrambling; a diffusion algorithm is applied to the plaintext image, and then the intermediate ciphertext image is partitioned. The final encrypted image is formed by using DNA operation. Experimental simulation and security analysis show that this algorithm increases the key space, has high sensitivity, and can resist several common attacks. At the same time, the algorithm in this paper can reduce the correlation between adjacent pixels, making it close to 0, and increase the information entropy, making it close to the ideal value and achieving a good encryption effect.

1. Introduction

With the rapid development of the Internet, more and more multimedia image information is transmitted online. Images are widely used because of their vivid and intuitive characteristics. People can easily access other people’s information through the Internet with the help of an ordinary computer and network cable. Therefore, the question of how to transfer the information safely and ensure its security has become an urgent problem to be solved. Image encryption is the primary solution. Due to high redundancy and correlation between image pixels, large amounts of data, and fidelity, traditional text encryption technology cannot meet the needs of image encryption [1]. Therefore, the development of secure and effective image encryption algorithms is still the focus of the communication field [2].
Due to its high sensitivity to initial values and system parameters, excellent ergodicity, and good pseudo-randomicity, chaotic systems have become the primary choice of cryptographic systems [3,4]. Therefore, many image encryption schemes based on chaos have been proposed [5,6]. Among them, chaotic image encryption methods are divided into one-dimensional chaotic and multidimensional chaotic encryption methods. A one-dimensional chaotic system has a simple structure which is easy to implement. However, they also have some problems: the scope of chaotic behavior is small, and the Lyapunov index is low [7]. Some improved encryption schemes for one-dimensional chaotic maps have been proposed. Wu et al. improved the existing one-dimensional chaos and proposed a new image encryption method [8]. A new method was proposed by Chao et al. who took the output of tent mapping as the input of Chebyshev mapping, and then applied perturbations to generate excellent pseudo-random chaotic sequences for encryption [9]. Hua et al. proposed to combine two one-dimensional chaotic systems in parallel to form a new one-dimensional chaotic system through cosine transform to encrypt the image [10], which increased the scope of system chaotic mapping. C P et al. defined a new one-dimensional chaotic map with the difference of two chaotic output sequences [11]. These methods expand the scope of chaotic mapping and improve chaotic properties to some extent, but the system parameters are still limited. On the other hand, the multi-dimensional chaotic phase space is complex, the system parameters have more flexibility, and the dynamic behavior is difficult to predict. In particular, the hyperchaotic system has two or more positive Lyapunov exponents, and the characteristics of the chaos are better for this system. A multi-dimensional chaotic system can produce multiple chaotic sequences at the same time, which can be used in image scrambling and diffusion, respectively, with high security. Sun adopts a 5-D hyperchaotic system to generate pseudo-random sequences and decompose permutation images, which can resist statistical attacks and differential attacks and is suitable for practical application [12].
Since DNA molecules can be processed in parallel on a large scale, with huge storage and ultra-low power consumption, many image encryption methods are proposed by many researchers who combine chaotic mapping and DNA coding technology. In 1994, Aldeman proposed DNA computing for the first time, ushering in a new era of information processing [13]. In 2002, Gehani et al. proposed to encrypt images one by one with DNA strings [14]. In 2012, an image encryption method based on piecewise linear mapping of DNA and PWLCM was proposed, which increased the key space [15]. However, these encryption methods cannot resist selective plaintext attacks and known plaintext attacks. In 2019, Zhang et al. proposed a new image encryption method based on quantum chaos and DNA coding, which has high security and can resist brute force attacks and statistical attacks [16]. In 2019, a color image encryption algorithm based on dynamic DNA encryption and chaos was proposed, using the hash function and external parameters to calculate its initial value, which can effectively resist the selected plaintext attack with better security [17]. Guan et al. proposed a digital image encryption algorithm based on DNA and frequency domain hyperchaos, which improved security against differential attacks [18]. Yang et al. proposed an image compression and encryption scheme based on fractional-order hyperchaotic system combining 2D compressed sensing and DNA coding. The fractional order and initial value of the fractional hyperchaos system are used as the key of the encryption scheme, which greatly expands the key space and has a strong ability to resist multiple attacks [19].
In order to provide a better encryption effect, a new image encryption scheme based on double chaos (one-dimensional composite chaos and hyperchaos) and DNA coding technology is proposed. This algorithm has the following advantages: (1) First, Fibonacci transformation and diffusion operation of modularization are performed on the plaintext image, and the pixel position and value of the plaintext image are fully changed to reduce the image correlation. (2) The first-round scrambling-diffusion operation is repeated three times, so that the value of each encrypted pixel is affected by the previous one, which increases the sensitivity to its clear text. (3) A new one-dimensional complex chaos is proposed, which has no period window within the chaos scope, that is to say it is a full map, and is larger than the corresponding one-dimensional chaotic Lyapunov exponents. Combining the new chaotic sequence with DNA technology, the secondary encryption extends the complexity and improves its security. (4) Taking the pixel value of the plaintext image as the initial value of the chaotic system can resist the plaintext attack and increase the key space. In this paper, key space, statistical analysis, differential attack, and anti-noise attack are analyzed. Experimental results and security analysis also confirm that the algorithm proposed in this paper increases key space, has high sensitivity, can resist multiple attacks, and can effectively protect the security of image information.
The rest of this paper is arranged as follows. The second section mainly introduces the theoretical knowledge required in this paper, such as typical chaotic systems, newly constructed LLS system, and DNA coding technology. The third section introduces in detail the image encryption scheme based on double chaos and DNA coding technology. The fourth section is the experimental simulation and security analysis. Finally, the fifth section draws the conclusion of this paper.

2. The Basic Principle

2.1. One-Dimensional Chaotic Mapping

2.1.1. Logistic Chaotic Mapping

Logistic chaotic mapping is a classical one-dimensional chaotic mapping with a simple structure and few control parameters, which is convenient for implementation and generalization involving other chaos [20]. The expression of Logistic chaotic mapping is shown as Formula (1):
x n + 1 = μ x n ( 1 x n ) ,   n = 0 , 1 , 2 , 3
where μ is the system control parameter, and x 0 is the initial value of the system 0 < x 0 < 1 . The bifurcation diagram and lyapunov exponent of logistic chaotic mapping are shown in Figure 1a and Figure 2a. It can be seen that with the increase of μ and the number of bifurcations of the system, when μ varies from 3.5699456 to 4, the system enters a chaotic state.

2.1.2. Sine Chaotic Mapping

Sine chaotic mapping is a mapping derived from the Sine function, which can convert the input angle in the range from 0 to 1/π to the output angle in a certain range [21]. The expression of Sine chaotic mapping is shown as Formula (2):
x n + 1 = r s i n ( π x n ) / 4 ,
where x n is the input and r is the system control parameter. The bifurcation diagram of Sine’s chaotic mapping and lyapunov exponent are shown as Figure 1b and Figure 2b.

2.2. LLSS Chaotic Mapping

A new one-dimensional chaotic system can be obtained by using the existing one-dimensional chaos as a seed map. In this paper, two logistic maps and Sine map were connected in parallel, and then a mod operation was used to form a new one-dimensional chaos algorithm named LLSS. The structure is shown as Figure 3. The system expression is defined by Formula (3):
x n + 1 = m o d ( 2 a x ( n ) ( 1 x ( n ) + ( 8 2 a ) sin ( π x ( n ) ) / 4 , 1 ) .
The bifurcation diagram and Lyapunov exponent of LLSS are shown in Figure 1c and Figure 2c. As can be seen from the figure, the LLSS is fully mapped within the range of [0,4] and has no period window. Compared with the classical one-dimensional chaotic map, the Lyapunov exponent also increases.

2.3. Qi Hyperchaotic System

In 2005, Qi et al. discovered and named a new chaos algorithm called the Qi chaotic system [22]. On the basis of the experience of increasing dimensions to obtain hyperchaos, Qi et al. further proposed the Qi hyperchaos system. In comparison, the dynamic characteristics are more complex and the motion trajectory traversal range in phase space is larger [23]. The Qi hyperchaotic system is a four-dimensional hyperchaotic system. The dynamic equation is shown as Formula (4) as follows:
{ x ˙ = a ( y x ) + y z w y ˙ = b ( x + y ) x z w z ˙ = c z + e x y w w ˙ = d w + x y z
When the system parameters a = 50, b = 4, c = 13, d = 20, e = 4, the system is in a hyperchaotic state. When the initial value [1; 2; 3; 4] is selected, its attractor phase diagram develops as shown in Figure 4.

2.4. DNA Coding Technique

A DNA sequence is a string of molecules that represent the genetic information carried. The sequence consists of four deoxyribonucleic acids, which are A(adenine), T(thymine), C(cytosine), and G(guanine) [24]. A and T as well as C and G are complementary pairs. When applying DNA sequences to binary Numbers, 0 and 1 are complementary. Four deoxyribonucleic acids are represented by two binary Numbers, so 00 and 11 are complementary, and 01 and 10 are also complementary. There are eight combinations satisfying the principle of base complementary pairing, that is, there are eight combinations of coding rules [25].
Plaintext can be thought of as a matrix with a pixel value from 0 to 255, and each plaintext pixel can be represented by a DNA sequence with a length of 4. For example, this information with a pixel value of 182 is converted into a binary sequence [10110110], which is encoded according to coding rule 1 in Table 1. The binary sequence obtained is [10111001], and the corresponding DNA sequence is CTGC. According to coding rule 2, the binary sequence obtained is [01111001]. DNA operations include XOR, addition, and subtraction, represented by a ternary number, where 0 represents DNA XOR, 1 represents DNA addition, and 2 represents DNA subtraction. These three operation rules between DNA sequences are set as shown in Table 2.

3. Proposed Encryption Algorithm

The flow chart of the proposed encryption scheme is shown in Figure 5. Suppose that the size of the original image I is M × N, and the encryption process is as follows:
Step 1: read in the original image I and use the Fibonacci transform to produce scrambled image F.
Definition: Fibonacci is a scrambling algorithm based on two-dimensional chaotic mapping, which is a nonlinear transformation in modular form and reduces the correlation by changing the position relation of image pixels. Its definition is shown in Formula (5):
( x y ) = ( 1         1 1         0 ) ( x y )   m o d   N .
Step 2: The scrambled image F is diffused with the algorithm of adding and taking modules to obtain the diffusion image K. The main Formula is shown in Formula (6). This diffusion operation can make the scrambled image fully diffuse into the ciphertext,
K i = ( K i 1 + H i + F i )   m o d   256
where K i is the diffused image, F i is the scrambled image, and H i is the password pixel.
Step 3: Repeat step 1 and step 2 for the three times to fully obtain the middle ciphertext M.
Step 4: Generate an M × M random matrix using LLSS chaotic mapping denoted as R. Given the initial value and system parameters of LLSS, the chaotic sequence of LLSS is generated by iterating SUM + 999 times, and the first 1000 points are removed to obtain the sequence P, which is transformed into an integer from 0 to 255, and then transformed into a random matrix R of M rows and N columns.
Step 5: construct a control sequence with a hyperchaotic Qi system
(1)
In order to resist the selective plaintext attack, the relationship between the initial value of the system and the plaintext is established, and the initial value of the hyperchaotic system X 0 , Y 0 , Z 0 and W 0 is obtained according to the Formula (7) to (10).
(2)
In order to obtain better randomness, the first 1500 iterations is removed and four hyperchaotic sequences X, Y, Z and W are generated. To reconstruct the sequence, X and Y determine the encoding mode of DNA, Z determines the operation of DNA, and W represents the decoding mode of DNA.
X 0 = s u m ( s u m ( b i t a n d ( I , 3 ) ) ) / ( 3 * S U M ) ,
Y 0 = s u m ( s u m ( b i t a n d ( I , 12 ) / 4 ) ) / ( 3 * S U M ) ,
Z 0 = s u m ( s u m ( b i t a n d ( I , 48 ) / 16 ) ) / ( 3 * S U M ) ,
    W 0 = s u m ( s u m ( b i t a n d ( I , 192 ) / 64 ) ) / ( 3 * S U M ) ,
Step 6: The random matrix R and the middle image M are preprocessed and divided into four blocks. The middle image M is encoded according to the sequence number corresponding to X to get D1, and the random matrix R is encoded according to the sequence number corresponding to Y to get D2. Then the above two encoded blocks are calculated according to Z. Finally, the results of the operation are calculated with the results of the previous one again. Combine the split blocks to get the final encrypted image E.
Decryption is the reverse operation of encryption. Decryption is mainly divided into three modules: DNA decoding and operation, inverse diffusion operation, and inverse operation of Fibonacci transformation. These modules are shown in the lower part of Figure 5.

4. Simulation Results and Security Analysis

The five images size of are used as the test images 256 × 256 including Lena, Couple, Cameraman, Baboon, and Lake. Simultaneous, the MatlabR2015a is used as the platform. The original image, the encrypted image, and the corresponding decrypted image are shown in Figure 6. It can be seen from the comparison diagram that the encrypted image is a snowflake, in which there is no information of the original image, and the original image can also be decrypted from the encrypted image, indicating that the algorithm proposed in this paper has a good encryption effect. In this section, the proposed algorithm is analyzed for security.

4.1. Key Analysis

4.1.1. Key Space

A good encryption algorithm should have enough key space to resist exhaustive attacks. The key of the proposed algorithm consists of a total of seven keys: x 0 , y 0 , z 0 , w 0 , H 0 , x 01 , and μ 0 . According to the international standard IEEE 754, the index portion is expressed as a positive value to simplify the comparison. The significant digit of a double-precision floating-point type is 52 bits, the size of the key space of the control parameter will be greater than 2 52 × 7 = 2 364 > 2 128 . The results show that it is almost impossible to attack the algorithm correctly by brute force, so the encryption algorithm can resist brute force attacks.

4.1.2. Key Sensitivity

A small change in the decryption key makes a huge difference to the result, and the original image will not be decrypted correctly, indicating that the algorithm gas has a high sensitivity. First, set the initial values of the Qi hyperchaos system: x 0 = 0.5001, y 0 = 0.5130, z 0 = 0.5170, w 0 = 0.3237; and the initial values of the LLSS system: x 01 = 0.3711, μ 0 = 3.9990. Then, make a tiny change to the encryption key, select one of the key parameters, and add 10 10 so that the results can be compared as shown in Figure 7. It can be seen that only a slight change can have a huge effect. And the decryption diagram is completely different from the original image. Therefore, it can be concluded that it is impossible to decrypt by completely guessing the encryption key.

4.2. Statistic Analysis

4.2.1. Gray Histogram

Gray histogram is more intuitive, and the visibility is good. It can be intuitively seen from the figure that the frequency or probability of occurrence of the gray value. The more balanced the histogram, the better the encryption effect [26]. The comparison results are shown in Figure 8. The gray level histogram represents each gray level and the number of times that gray level occurs. The x-axis represents grayscale values of 0 to 255, and the y-axis represents the number of pixels in the corresponding grayscale in the figure. As can be seen from the figure, the histogram of the original image fluctuates greatly and is not uniform; Ciphertext images are roughly evenly distributed. The results show that the attacker cannot get information about the original image from the ciphertext, which indicates that the algorithm proposed in this paper has a good encryption effect.

4.2.2. Correlation Analysis of Adjacent Pixels

Two thousand pairs of adjacent pixel values are randomly selected from the horizontal, vertical and diagonal directions of plaintext and ciphertext images. The following Formulas (11) to (14) are used to calculate the correlation coefficient of two adjacent pixel values:
ρ x y = c o v ( x , y ) D ( x ) D ( y ) ,
E ( x ) = 1 N i = 1 N x i ,
D ( x ) = 1 N i = 1 N ( x i E ( x ) ) 2 ,
c o v ( x , y ) = 1 N i = 1 N ( x i E ( x ) ) ( y i E ( y ) ) ,
where x, y is the gray value of two adjacent pixels in the image, N is the total pixel value selected from the image, E(x) and E(y) are the mean value, D(x) and D(y) are the variance. The smaller the absolute value of the correlation coefficient is, the lower the correlation is. The correlation coefficient of plaintext and ciphertext is shown in Table 3. It can be seen from Table 3 that the absolute value of plaintext image correlation is close to 1, and the absolute value of ciphertext correlation is close to 0, which indicates that the image correlation after encryption is destroyed. The correlation diagram is shown in Figure 9, from which it can be seen that the pixels of the plaintext image are highly concentrated and distributed near the corners, while the pixels of the ciphertext image are evenly distributed.

4.2.3. Information Entropy

The information entropy of the image is considered from the statistical characteristics and represents the overall characteristics of the image in the mean sense. It reflects the average amount of information in the image. The following Formula (15) is used to calculate the information entropy of the image:
H ( x ) = i = 0 2 n 1 p ( m i ) l o g 2 1 p ( m i ) ,
where p ( m i ) represents the probability of signal m. For a 256 × 256 image, the ideal value of entropy is equal to 8, which means the image is uniform. The closer it gets to 8, the harder the cryptosystem leaves some information available. When the probability of each gray value is basically equal, the entropy reaches the maximum value. Table 4 is the information entropy of the algorithm proposed in this paper. It can be seen from Table 4 that the information entropy of this paper is close to 8, which indicates that the probability of accidental information leakage is very small.

4.3. Differential Attack

The difference between plaintext and ciphertext can be expressed by NPCR (the number of pixels change rate) and UACI (the number average changing intensity), where NPCR represents the ratio of different gray values of different ciphertext images at the same position, while UACI represents the average change density of different ciphertext images. UACI and NPCR can be used to test the ability of encryption algorithms to resist differential attacks. The Formulas (16) to (18) are to calculate NPCR and UACI.
N P C R = i , j D ( i , j ) M × N × 100 % ,
U A C I = 1 M × N × i , j | C 1 ( i , j ) C 2 ( i , j ) | L × 100 % ,
D ( i , j ) = { 0 , C 1 ( i , j ) = C 2 ( i , j ) 1 , o t h e r w i s e ,
where C 1 ( i , j ) and C 2 ( i , j ) represent the ciphertext image corresponding to two plaintext images with only one pixel difference. For a 256-level image, the ideal values of UACI and NPCR are 33.4635% and 99.6094%. The test results are shown in Table 5. It can be seen from the table that the average UACI is 99.6130% and NPCR is 33.5211%, which is very close to the ideal value.

4.4. Anti-Noise Ability

In order to test the anti-noise ability of the algorithm, add a different intensity of Salt and Pepper noise and Gaussian noise to the ciphertext image and decrypt it. Then use the peak signal to noise ratio (PSNR) to assess it, which is the most widely used image perception quality evaluation method, and defined by the mean square error (MSE):
M S E = 1 m × n i = 1 m j = 1 n [ I ( i , j ) D ( i , j ) ] 2 ,
P S N R = 10 lg ( 255 2 M S E ) ,
where I is the original image and D is the decrypted image. The test results are shown in Table 6. First increase the noise of the density of 0.001, 0.005 and 0.01 to the cipher images. The noised cipher images are shown in the first column of Table 6, and then they can be decrypted. The decrypted images are shown in the third column of Figure 6. The corresponding PSNR is shown in the fourth column. It can be seen from the figure that in the case of noise, the algorithm in this paper can decrypt the noised cipher images and obtain the original image information. Even if the noise intensity reaches 0.01, the decrypted image can still be visually recognized. It can be seen that the encryption scheme can effectively resist a certain degree of noise attack.

4.5. Anti-Cropping Ability

To test the ability of the proposed algorithm to resist clipping attacks, set the gray values of some pixels of the encrypted image to 0, and then decrypt it with the correct key. As shown in Figure 10, it can be seen that after cutting off a pixel block, the original image can still be decrypted to a certain extent, indicating that the algorithm proposed in this paper has a certain degree of anti-cropping ability.

4.6. Chosen-Plaintext Attack

In cryptanalysis, there are four typical attacks: ciphertext-only attack, known-plaintext attack, chosen-plaintext attack, and chosen-ciphertext attack. If it can resist a chosen-ciphertext attack, it has enough security to resist other attacks. In this paper, two kinds of images, all black and all white, are used for testing. The encryption diagram and its histogram are shown in Figure 11. At the same time, the correlation between information entropy and adjacent pixels can be analyzed, as shown in Table 7.

4.7. Comparative Analysis with Other Literatures

The algorithm proposed in this paper is compared with other literatures in terms of key space, information entropy and differential attack. The results are shown in Table 8. It can be seen from the table that the algorithm proposed in this paper is close to the ideal value, and better than the algorithms discussed in other literatures in three ways, indicating that this algorithm has a good encryption effect.
The algorithm proposed in this paper is compared with other literatures on related rows of adjacent pixels. The results are shown in Table 9. As can be seen from the table, the algorithm proposed in this paper reduces the pixel correlation from the three directions of horizontal, vertical, and diagonal, so that its absolute value is close to 0. Compared with other algorithms, the reduction effect of this algorithm is better.

4.8. Structural Similarity Index (SSIM)

SSIM is a measure of the similarity of two images. If the two images are before encryption and after decryption, then SSIM can be used to evaluate the quality of the encrypted image. The value is from 0 to 1. The larger the value, the smaller the image distortion. Calculated as follows:
μ X = 1 m × n i = 1 m j = 1 n X ( i , j ) ,
σ X = 1 m × n 1 i = 1 m j = 1 n ( X ( i , j ) μ X ) 2 ) 1 / 2 ,
σ X Y = 1 m × n 1 i = 1 m j = 1 n ( X ( i , j ) μ X ) ( Y ( i , j ) μ Y ) ,
S S I M = ( 2 μ X μ Y + C 1 ) ( 2 σ X Y + C 2 ) ( μ X 2 + μ Y 2 + C 1 ) ( σ X 2 + σ Y 2 + C 2 ) ,
where C 1 = ( 0.01 × 255 ) 2 , C 2 = ( 0.03 × 255 ) 2 . Calculate the SSIM value is 0.81085 according to the formula. It can be seen that it is within the range and the value is relatively high. This shows that the algorithm has less distortion.

4.9. Computational Complexity Analysis

The image encryption algorithm was implemented by Matlab on a personal computer with an Intel i5-4210U processor and 4.00G RAM. It takes time to record the encryption and decryption of different image sizes. The results are shown in Figure 12.

5. Discussion

This paper proposes a new one-dimensional chaos, which is formed by parallel processing of Logistic and Sine chaos as seed maps and through modulo operation. The new chaos has the advantages of a simple one-dimensional chaotic structure, being easy to implement and full mapping in the chaos range. The algorithm in this paper is based on the combination of the double chaos, this new one-dimensional chaotic, and hyperchaos Qi, and uses DNA coding technology to achieve image encryption. In the fourth part of the experimental simulation and performance analysis, we can see that the algorithm proposed in this paper can increase the key space, have high sensitivity to the key, reduce the degree of correlation of the original image, and resist the advantages of multiple attacks. However, the efficiency of the algorithm discussed in this paper is not high, and the degree of anti-attack needs to be improved. This will be progressed in future research.

6. Conclusions

In this paper, a new image encryption scheme based on composite chaos and Qi hyperchaos combined with DNA coding is proposed. In this scheme, Fibonacci transformation and diffusion algorithm of adding modules are used for initial encryption. Then the intermediate ciphertext and the new compound chaos are calculated by DNA to form the final ciphertext. In order to resist chosen-plaintext attack, the algorithm takes the sum of original image pixels as the initial value of a chaotic sequence. Experimental simulation shows that this scheme can increase the key space and resist many common attacks. However, the efficiency of the scheme is not high, so the main work in the future will be to improve the efficiency of the algorithm.

Author Contributions

Conceptualization, Y.W.; methodology, Y.W.; software, Y.W. and S.G.; validation, Y.W., S.G. and B.D.; formal analysis, S.G.; investigation, Y.W. and S.G.; resources, Y.W. and S.G.; data curation, Y.W. and B.D.; writing—original draft preparation, Y.W.; writing—review and editing, Y.W., S.G. and B.D.; visualization, Y.W., S.G. and B.D..; supervision, Y.W. and S.G.; project administration, Y.W. and B.D.; funding acquisition, B.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by [SCIENCE AND TECHNOLOGY INNOVATION SPECIAL PROJECT OF BASIC RESEARCH PROJECT OF BASIC SCIENTIFIC RESEARCH OPERATING EXPENSES OF COLLEGES AND UNIVERSITIES IN HEILONGJIANG PROVINCE IN 2019], grant number [KJCX201906].

Acknowledgments

The authors also gratefully acknowledge the helpful comments and suggestions of the reviewers, which have improved the presentation.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Huang, X.L.; Ye, G.D. An image encryption algorithm based on Time-Delay and random insertion. Entropy 2018, 20, 974. [Google Scholar] [CrossRef] [Green Version]
  2. Ahmad, J.; Hwang, S.O. Chaos-based diffusion for highly autocorrelated data in encryption algorithms. Nonlinear Dyn. 2015, 82, 1839–1850. [Google Scholar] [CrossRef]
  3. Zhou, H.M. Noise reduction multi-carrier differential chaos shift keying system. J. Circuits Syst. Comput. 2018, 27, 14. [Google Scholar] [CrossRef] [Green Version]
  4. Budroni, M.A.; Calabrese, I.; Miele, Y. Control of chemical chaos through medium viscosity in a batch ferroin-catalysed Belousov-Zhabotinsky reaction. Phys. Chem. Chem. 2017, 19, 32235–32241. [Google Scholar] [CrossRef] [PubMed]
  5. Zhou, N.; Pan, S.; Cheng, S. Image compression–encryption scheme based on hyper-chaotic system and 2D compressive sensing. Opt. Laser Technol. 2016, 82, 121–133. [Google Scholar] [CrossRef]
  6. Hancerliogulları, A.; El Hadad, K.M.; Kurt, E. Implementation of a real time analog secure image communication system via a chaotic circuit. Politek. Derg. 2019, 20, 1083–1092. [Google Scholar] [CrossRef]
  7. Zhou, Y.C.; Bao, L.; Chen, C.L.P. A new 1D chaotic system for image encryption. Signal Process. 2014, 97, 172–182. [Google Scholar] [CrossRef]
  8. Wu, X.J.; Kan, H.B.; Kurths, J. A new color image encryption scheme based on DNA sequences and multiple improved 1D chaotic maps. Appl. Soft Comput. 2015, 37, 24–39. [Google Scholar] [CrossRef]
  9. Cao, L.C.; Luo, Y.L.; Qiu, S.H. A perturbation method to the tent map based on Lyapunov exponent and its application. Chin. Phys. B 2015, 24, 78–85. [Google Scholar] [CrossRef]
  10. Hua, Z.Y.; Zhou, Y.C.; Huang, H.J. Cosine-transform-based chaotic system for image encryption. Inf. Sci. 2019, 480, 403–419. [Google Scholar] [CrossRef]
  11. Chanil, P.; Lilian, H. A new color image encryption using combination of the 1D chaotic map. Signal Process. 2017, 138, 129–137. [Google Scholar]
  12. Sun, S.L. A Novel Hyperchaotic Image Encryption Scheme Based on DNA Encoding, Pixel-Level Scrambling and Bit-Level Scrambling. IEEE Photonics J. 2018, 10, 129–137. [Google Scholar] [CrossRef]
  13. Adleman, L. Molecular computation of solutions to combinatorial problems. Science 1994, 266, 1021–1024. [Google Scholar] [CrossRef] [Green Version]
  14. Gehani, A.; Labean, T.; Reif, J. DNA-based Cryptography. Asp. Mol. Comput. 2002, 54, 233–249. [Google Scholar]
  15. Liu, H.J.; Wang, X.Y.; Kadir, A. Image encryption using DNA complementary rule and chaotic maps. Appl. Soft Comput. 2012, 12, 1457–1466. [Google Scholar] [CrossRef]
  16. Zhang, J.; Huo, D. Image encryption algorithm based on quantum chaotic map and DNA coding. Multimed. Tools Appl. 2019, 78, 15605–15621. [Google Scholar] [CrossRef]
  17. Chai, X.L.; Fu, X.L.; Gan, Z.H. A color image cryptosystem based on dynamic DNA encryption and chaos. Signal Process. 2019, 155, 44–62. [Google Scholar] [CrossRef]
  18. Guan, M.M.; Yang, X.L.; Hu, W.S. Chaotic image encryption algorithm using frequency-domain DNA encoding. IET Image Process. 2019, 119, 105661. [Google Scholar] [CrossRef]
  19. Yang, Y.G.; Guan, B.W.; Li, J. Image compression-encryption scheme based on fractional order hyperchaotic systems combined with 2D compressed sensing and DNA encoding. Opt. Laser Technol. 2019, 13, 1535–1539. [Google Scholar]
  20. Huang, C.G.; Cheng, H.; Ding, Q. Logistic chaotic sequence generator based on physical unclonable function. J. Commun. 2019, 40, 186–193. [Google Scholar]
  21. Bi, C.; Zhang, Q.; Xiang, Y.; Wang, J.M. Bifurcation and attractor of two-dimensional sinusoidal discrete map. Acta Phys. Sin. 2019, 62, 240503. [Google Scholar]
  22. Qi, G.Y.; Chen, G.R.; Du, S. Analysis of a new chaotic system. Phys. A 2005, 352, 295–308. [Google Scholar] [CrossRef]
  23. Qi, G.Y.; Chen, G.R. Analysis and circuit implementation of a new 4D chaotic system. Phys. Lett. A 2006, 352, 386–397. [Google Scholar] [CrossRef]
  24. Xiao, G.Z.; Lu, M.X.; Qin, L.; Lai, X.J. New field of cryptography: DNA cryptography. Chin. Sci. Bull. 2006, 51, 1413–1420. [Google Scholar] [CrossRef] [Green Version]
  25. Watson, J.D.; Crick, F.; Qin, L.; Lai, X.J. A structure for deoxyribose nucleic acid. Nature 1953, 171, 737–738. [Google Scholar] [CrossRef] [PubMed]
  26. Ahmad, J.; Hwang, S.O. A secure image encryption scheme based on chaotic maps and affine transformation. Multimed. Tools Appl. 2016, 75, 13951–13976. [Google Scholar] [CrossRef]
  27. Khan, F.A.; Ahmed, J.; Khan, J.S.; Ahmad, J.; Khan, M.A. A novel image encryption based on Lorenz equation, Gingerbreadman chaotic map and S8 permutation. J. Intell. Fuzzy Syst. 2017. [Google Scholar] [CrossRef]
Figure 1. The Bifurcation diagrams of the (a) Logistic map, (b) Sine map, (c) LLSS map.
Figure 1. The Bifurcation diagrams of the (a) Logistic map, (b) Sine map, (c) LLSS map.
Entropy 22 00171 g001
Figure 2. The Lyapunov Exponent of the (a) Logistic map, (b) Sine map, (c) LLSS map.
Figure 2. The Lyapunov Exponent of the (a) Logistic map, (b) Sine map, (c) LLSS map.
Entropy 22 00171 g002
Figure 3. The new chaotic system of the LLS map.
Figure 3. The new chaotic system of the LLS map.
Entropy 22 00171 g003
Figure 4. Qi Hyper-chaotic attractor: (a) (x-y) plane; (b) (y-z) plane; (c) (x-w) plane; (d) (x-y-z) plane.
Figure 4. Qi Hyper-chaotic attractor: (a) (x-y) plane; (b) (y-z) plane; (c) (x-w) plane; (d) (x-y-z) plane.
Entropy 22 00171 g004aEntropy 22 00171 g004b
Figure 5. The flow chart of the proposed image encryption algorithm.
Figure 5. The flow chart of the proposed image encryption algorithm.
Entropy 22 00171 g005
Figure 6. Original (a1)–(e1), encrypted (a2)–(e2), and decrypted of test image (a3)–(e3).
Figure 6. Original (a1)–(e1), encrypted (a2)–(e2), and decrypted of test image (a3)–(e3).
Entropy 22 00171 g006aEntropy 22 00171 g006b
Figure 7. Key sensitivity: (a) Lena (b) x 0 = 0.5001 + 10 10 , (c) y 0 = 0.5130 + 10 10 , (d) z 0 = 0.5170 + 10 10 , (e) w 0 = 0.3237 + 10 10 , (f) x 01 = 0.3711 + 10 10 , (g) x 0 = 3.9990 + 10 10 , (h) corrected decrypted image.
Figure 7. Key sensitivity: (a) Lena (b) x 0 = 0.5001 + 10 10 , (c) y 0 = 0.5130 + 10 10 , (d) z 0 = 0.5170 + 10 10 , (e) w 0 = 0.3237 + 10 10 , (f) x 01 = 0.3711 + 10 10 , (g) x 0 = 3.9990 + 10 10 , (h) corrected decrypted image.
Entropy 22 00171 g007
Figure 8. Gray Histogram of original (a1)–(e1). Gray Histogram of decrypted image (a2)–(e2).
Figure 8. Gray Histogram of original (a1)–(e1). Gray Histogram of decrypted image (a2)–(e2).
Entropy 22 00171 g008aEntropy 22 00171 g008b
Figure 9. Horizontal correlation of adjacent pixels of original (a1)–(e1), encrypted image (a2)–(e2).
Figure 9. Horizontal correlation of adjacent pixels of original (a1)–(e1), encrypted image (a2)–(e2).
Entropy 22 00171 g009aEntropy 22 00171 g009b
Figure 10. Cropping attacks with different areas. (ad) Partially cut the encrypted image, (eh) decrypted images.
Figure 10. Cropping attacks with different areas. (ad) Partially cut the encrypted image, (eh) decrypted images.
Entropy 22 00171 g010
Figure 11. Test results with all black and all white.
Figure 11. Test results with all black and all white.
Entropy 22 00171 g011
Figure 12. Image encryption algorithm computational complexity test.
Figure 12. Image encryption algorithm computational complexity test.
Entropy 22 00171 g012
Table 1. DNA coding rules.
Table 1. DNA coding rules.
Title 112345678
A0000010110101111
T1100101001010000
C0110001100110110
G1001110011001001
Table 2. DNA XOR, Addition and Subtraction.
Table 2. DNA XOR, Addition and Subtraction.
XORAGCT+AGCT-CATG
AAGCTAAGCTCCATG
GGATCGGCTAAGCAT
CCTAGCCTAGTTGCA
TTCGATTAGCGATGC
Table 3. Correlation coefficients of adjacent pixels for the test images.
Table 3. Correlation coefficients of adjacent pixels for the test images.
ImageSchemeHorizontalVerticalDiagonal
LenaOriginal image
Cipher image
0.93767
0.0020306
0.97178
0.010543
0.9104
0.0019857
CoupleOriginal image
Cipher image
0.9485
0.0031994
0.93625
0.0044791
0.89823
−0.000148
CameramanOriginal image
Cipher image
0.92127
0.0026387
0.9633
0.010641
0.89823
−0.000148
BaboonOriginal image
Cipher image
0.90552
−0.014249
0.9228
0.0073645
0.8557
0.0068203
LakeOriginal image
Cipher image
0.93051
0.0012594
0.95735
−0.0014642
0.89664
0.0020329
Table 4. Information entropy.
Table 4. Information entropy.
ImageLenaCoupleCameramanBaboonLake
Original image7.55347.46017.00977.36497.5314
Cipher image7.99747.99717.99707.99687.9973
Table 5. UACI and NPCR.
Table 5. UACI and NPCR.
ImageLenaCoupleCameraman BaboonLakeAverage
NPCR (%)99.598799.627699.600299.617099.621699.6130
UACI (%)33.526733.520833.392133.631833.534433.5211
Table 6. PSNR with different noises and intensities.
Table 6. PSNR with different noises and intensities.
NoiseNoisy encrypted imagesNoise intensitiesDecrypted imagesPSNR(dB)
Salt and Pepper noise Entropy 22 00171 i0010.001 Entropy 22 00171 i00241.7268
Entropy 22 00171 i0030.005 Entropy 22 00171 i00434.7189
Entropy 22 00171 i0050.01 Entropy 22 00171 i00633.4257
Entropy 22 00171 i0070.001 Entropy 22 00171 i00835.2165
Gaussian Entropy 22 00171 i0090.005 Entropy 22 00171 i01033.8192
Entropy 22 00171 i0110.01 Entropy 22 00171 i01232.483
Table 7. Information entropy and correlation coefficients of the test images.
Table 7. Information entropy and correlation coefficients of the test images.
Correlation Coefficients
EntropyHorizontalVerticalDiagonal
All black0
Cipher with all black7.9972−0.00360.02610.0033
All white0
Cipher with all white7.9973−0.00420.0187−0.0021
Table 8. Comparative analysis.
Table 8. Comparative analysis.
AlgorithmKey spaceInformation entropyUACI (%)NPCR (%)
Ours 3.8 × 10 109 7.997133.521199.6130
Ref. [5] 1.2 × 10 83 7.995133.462499.4890
Ref. [15] 1.9 × 10 126 7.997330.237599.5950
Ref. [16] 1.6 × 10 79 7.996433.469499.6105
Ref. [19] 2.9 × 10 138 7.984528.667999.6101
Ref. [27] 6.5 × 10 119 7.997033.344399.7643
Table 9. Comparative analysis of the correlation coefficients of adjacent pixels.
Table 9. Comparative analysis of the correlation coefficients of adjacent pixels.
AlgorithmVerticalHorizontalDiagonal
Ours0.00200.01050.0019
Ref. [5]0.0298−0.03590.0052
Ref. [15]0.00210.0004−0.0038
Ref. [16]0.0054−0.0011−0.0038
Ref. [19]
Ref. [27]
0.0001
−0.0331
−0.0011
0.0125
−0.0014
−0.0236

Share and Cite

MDPI and ACS Style

Wan, Y.; Gu, S.; Du, B. A New Image Encryption Algorithm Based on Composite Chaos and Hyperchaos Combined with DNA Coding. Entropy 2020, 22, 171. https://doi.org/10.3390/e22020171

AMA Style

Wan Y, Gu S, Du B. A New Image Encryption Algorithm Based on Composite Chaos and Hyperchaos Combined with DNA Coding. Entropy. 2020; 22(2):171. https://doi.org/10.3390/e22020171

Chicago/Turabian Style

Wan, Yujie, Shuangquan Gu, and Baoxiang Du. 2020. "A New Image Encryption Algorithm Based on Composite Chaos and Hyperchaos Combined with DNA Coding" Entropy 22, no. 2: 171. https://doi.org/10.3390/e22020171

APA Style

Wan, Y., Gu, S., & Du, B. (2020). A New Image Encryption Algorithm Based on Composite Chaos and Hyperchaos Combined with DNA Coding. Entropy, 22(2), 171. https://doi.org/10.3390/e22020171

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop