| Literature DB >> 33286412 |
Xin Jin1, Xintao Duan1, Hang Jin2, Yuanyuan Ma1.
Abstract
Aiming at the problems of small key space, low security of encryption structure, and easy to crack existing image encryption algorithms combining chaotic system and DNA sequence, this paper proposes an image encryption algorithm based on a hidden attractor chaotic system and shuffling algorithm. Firstly, the chaotic sequence generated by the hidden attractor chaotic system is used to encrypt the image. The shuffling algorithm is used to scramble the image, and finally, the DNA sequence operation is used to diffuse the pixel value of the image. Experimental results show that the key space of the scheme reaches 2327 and is very sensitive to keys. The histogram of encrypted images is evenly distributed. The correlation coefficient of adjacent pixels is close to 0. The entropy values of encrypted images are all close to eight and the unified average change intensity (UACI) value and number of pixel changing rate (NPCR) value are close to ideal values. All-white and all-black image experiments meet the requirements. Experimental results show that the encryption scheme in this paper can effectively resist exhaustive attacks, statistical attacks, differential cryptanalysis, known plaintext and selected plaintext attacks, and noise attacks. The above research results show that the system has better encryption performance, and the proposed scheme is useful and practical in communication and can be applied to the field of image encryption.Entities:
Keywords: DNA sequence; chaotic system; image encryption; security analysis; shuffle algorithm
Year: 2020 PMID: 33286412 PMCID: PMC7517175 DOI: 10.3390/e22060640
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.524
Influence of initial value and parameters on system.
| Initial Value | Parameters | System State |
|---|---|---|
|
|
| Double-scroll hyperchaos |
|
|
| Chaos |
|
|
| Periodic orbits |
|
|
| Hyper-chaos |
The influence of parameter change on the system.
| Value Range of c | System State |
|---|---|
|
| Chaos |
|
| Hyper-chaos |
|
| Chaos or quasi-periodic orbits or Periodic orbits |
|
| Periodic |
|
| Quasi-periodic |
|
| Chaos |
Figure 1The hidden attractor hyperchaotic system. (a) x-y-z; (b) y-z-h; (c) x-z-h; (d) x-y-h.
Random test results.
| Randomness Test | Result | ||
|---|---|---|---|
| Frequency test | 0.756086 | Pass | |
| Block Frequency test | 0.965353 | Pass | |
| Runs test | 0.756043 | Pass | |
| Longest Run of One’s test | 0.445124 | Pass | |
| Matrix Rank test | 0.152412 | Pass | |
| Discrete Fourier Transform test | 0.756312 | Pass | |
| Non-Overlapping Template Matchings test | 0.232635 | Pass | |
| Overlapping Template Matchings test | 0.953691 | Pass | |
| Universal test | 0.970868 | Pass | |
| Linear Complexity test | 0.851026 | Pass | |
| Serial test | 0.179212 | Pass | |
| 0.432451 | Pass | ||
| Approximate Entropy test | 0.631205 | Pass | |
| Cumulative Sums test | Forward | 0.078968 | Pass |
| Reverse | 0.083989 | Pass | |
| Random Excursions test | 0.221075 | Pass | |
| Random Excursions Variant test | 0.436787 | Pass | |
Test results of TESTU01.
| Test Suite | Evaluation of Data Volume | Total Tests | Test Result |
|---|---|---|---|
|
| 6Gb | 15 | Pass |
|
| 973Gb | 144 | Pass |
|
| 10Tb | 160 | Pass |
|
| 953Mb | 17 | Pass |
|
| 953Mb | 40 | Pass |
|
| 5Gb | 126 | Pass |
|
| 19Kb | 16 | Pass |
DNA encoding rules.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|---|
|
| 00 | 00 | 01 | 01 | 10 | 10 | 11 | 11 |
|
| 11 | 11 | 10 | 10 | 01 | 01 | 00 | 00 |
|
| 01 | 10 | 00 | 11 | 00 | 11 | 01 | 10 |
|
| 10 | 01 | 11 | 00 | 11 | 00 | 10 | 01 |
DNA XOR operation.
| ⊕ | A | T | G | C |
|---|---|---|---|---|
|
| A | T | G | C |
|
| T | A | C | G |
|
| G | C | A | T |
|
| C | G | T | A |
Figure 2The encryption processes.
Figure 3The decryption processes.
Experimental parameters of encryption and decryption process.
| Items | Value |
|---|---|
|
|
|
|
|
|
|
| 1110110111010001101110111010100000001011100011100110000000000000 |
Figure 4Encryption and decryption effect; (a) Original image of Lena; (b) Encrypted image of Lena; and (c) Decrypted image of Lena.
Key space comparison of different algorithms.
| Algorithm | The Algorithm in This Paper | Ref. [ | Ref. [ | Ref. [ | Ref. [ | Ref. [ |
|---|---|---|---|---|---|---|
| Key space | 2327 | 2299 | 2299 | 2256 | 2256 | 2319 |
Results of key sensitivity analysis experiment 1.
| Image Name | Image | Encrypted Image | Error Key Decryption Image | Decryption Image |
|---|---|---|---|---|
| Lena |
|
|
|
|
| 5.2.08 |
|
|
|
|
| 5.2.09 |
|
|
|
|
| 5.2.10 |
|
|
|
|
| 7.1.02 |
|
|
|
|
| 7.1.03 |
|
|
|
|
| 7.1.05 |
|
|
|
|
| 7.1.08 |
|
|
|
|
| 7.1.10 |
|
|
|
|
| boat |
|
|
|
|
Results of key sensitivity analysis experiment 2.
| Image Name | Encrypted Image | Error Key Decryption Image( | Error Key Decryption Image( | Error Key Decryption Image( | Error Key Decryption Image( | Decryption Image |
|---|---|---|---|---|---|---|
| Lena |
|
|
|
|
|
|
| 5.2.08 |
|
|
|
|
|
|
Histogram of the original image and encrypted image.
| Image Name | Histogram of the Original Image | Histogram of the Encrypted Image | χ2 | |
|---|---|---|---|---|
| Lena |
|
| 278.7992 | 0.7896 |
| 5.2.08 |
|
| 252.6531 | 0.5832 |
| 5.2.09 |
|
| 259.7123 | 0.6816 |
| 5.2.10 |
|
| 264.5217 | 0.7124 |
| 7.1.02 |
|
| 269.1632 | 0.6195 |
| 7.1.03 |
|
| 251.6328 | 0.5913 |
| 7.1.05 |
|
| 272.6374 | 0.7351 |
| 7.1.08 |
|
| 262.6891 | 0.6237 |
| 7.1.10 |
|
| 275.8627 | 0.5769 |
| boat |
|
| 254.1951 | 0.6365 |
The correlation coefficient of adjacent pixels in the image.
| Image | Direction | Original Image | Encrypted Image | |
|---|---|---|---|---|
| The Algorithm in This Paper | Ref. [ | |||
| Lena | Horizontal | 0.9755 | −0.0045 | −0.0048 |
| Vertical | 0.9850 | −0.0103 | −0.0112 | |
| Diagonal | 0.9626 | 0.0022 | −0.0045 | |
| 5.2.08 | Horizontal | 0.9446 | −0.0071 | −0.0251 |
| Vertical | 0.8856 | 0.0002 | −0.0213 | |
| Diagonal | 0.8387 | −0.0045 | −0.0232 | |
| 5.2.09 | Horizontal | 0.9077 | 0.0012 | −0.0014 |
| Vertical | 0.8594 | −0.0023 | −0.0056 | |
| Diagonal | 0.8110 | 0.0117 | −0.0049 | |
| 5.2.10 | Horizontal | 0.9380 | −0.0093 | −0.0190 |
| Vertical | 0.9250 | 0.0167 | −0.0182 | |
| Diagonal | 0.8910 | 0.0120 | −0.0079 | |
| 7.1.02 | Horizontal | 0.9338 | −0.0062 | −0.0002 |
| Vertical | 0.9439 | −0.0036 | −0.0090 | |
| Diagonal | 0.8801 | 0.0193 | −0.0066 | |
| 7.1.03 | Horizontal | 0.9480 | −0.0036 | −0.0202 |
| Vertical | 0.9339 | −0.0173 | −0.0200 | |
| Diagonal | 0.9054 | 0.0012 | −0.0013 | |
| 7.1.05 | Horizontal | 0.9423 | 0.0083 | −0.0086 |
| Vertical | 0.9089 | −0.0094 | −0.0103 | |
| Diagonal | 0.8926 | 0.0142 | −0.0079 | |
| 7.1.08 | Horizontal | 0.9572 | −0.0150 | −0.0195 |
| Vertical | 0.9261 | 0.0002 | −0.0127 | |
| Diagonal | 0.9206 | 0.0119 | −0.0124 | |
| 7.1.10 | Horizontal | 0.9634 | 0.0197 | −0.0201 |
| Vertical | 0.9483 | −0.0199 | 0.0135 | |
| Diagonal | 0.9288 | 0.0169 | −0.0182 | |
| boat | Horizontal | 0.9415 | −0.0130 | −0.0100 |
| Vertical | 0.9696 | 0.0111 | −0.0124 | |
| Diagonal | 0.9209 | −0.0182 | −0.0185 | |
Figure 5Correlation between adjacent pixels of the "Lena" image before and after encryption.
The result of information entropy.
| Image Name | The Entropy of the Original Image | The Entropy of the Encrypted Image | Ref. [ |
|---|---|---|---|
| Lena | 7.4455 | 7.9983 | 7.9086 |
| 5.2.08 | 7.2010 | 7.9986 | 7.9025 |
| 5.2.09 | 6.9940 | 7.9991 | 7.9027 |
| 5.2.10 | 5.7056 | 7.9989 | 7.9022 |
| 7.1.02 | 4.0045 | 7.9992 | 7.8936 |
| 7.1.03 | 5.4957 | 7.9994 | 7.9007 |
| 7.1.05 | 6.5632 | 7.9982 | 7.9022 |
| 7.1.08 | 5.0534 | 7.9985 | 7.9024 |
| 7.1.10 | 5.9088 | 7.9993 | 7.9027 |
| boat | 7.1914 | 7.9986 | 7.9025 |
Experimental results of all-white and all-black images.
| Images | Full White Image | Full Black Image | |
|---|---|---|---|
|
| 7.9971 | 7.9972 | |
|
| 0.3348 | 0.3337 | |
|
| 0.9959 | 0.9960 | |
|
|
| 0.0051 | 0.0035 |
|
| 0.0026 | 0.0060 | |
|
| 0.0020 | 0.0028 | |
|
| 263.4922 | 249.8672 | |
|
| 0.6559 | 0.4210 | |
Figure 6Experimental results of all-white and all-black images; (a) All-white image; (b) Encrypt image; (c) Encrypted image histogram; (d) All-black image; (e) Encrypt image; and (f) Encrypted image histogram.
Comparison of unified average change intensity (UACI) value and number of pixel changing rate (NPCR) of different algorithms.
| The Algorithm in This Paper | Ref. [ | Ref. [ | |
|---|---|---|---|
| UACI | 33.60% | 33.05% | 33.53% |
| NPCR | 99.61% | 99.52% | 99.60% |
UACI and NPCR values of images.
| Image Name | UACI | NPCR |
|---|---|---|
| Lena | 33.51% | 99.63% |
| 5.2.08 | 33.60% | 99.61% |
| 5.2.09 | 33.81% | 99.59% |
| 5.2.10 | 33.75% | 99.63% |
| 7.1.02 | 33.62% | 99.62% |
| 7.1.03 | 33.54% | 99.56% |
| 7.1.05 | 33.86% | 99.62% |
| 7.1.08 | 33.53% | 99.60% |
| 7.1.10 | 33.64% | 99.59% |
| boat | 33.79% | 99.58% |
UACI and NPCR when a pixel value changes.
| Pixel Location | UACI | NPCR |
|---|---|---|
|
| 33.49% | 99.64% |
|
| 33.48% | 99.60% |
|
| 33.51% | 99.66% |
|
| 33.49% | 99.60% |
|
| 33.44% | 99.62% |
Figure 7(a–c) Decrypted image with Gaussian noise; (d–f) Decrypted image with Salt and pepper noise.
The structural similarity between decrypted image and decrypted image with noise.
| The Algorithm in This Paper | Ref. [ | ||
|---|---|---|---|
| Gaussian noise | var = 0.0001 | 0.9518 | 0.9076 |
| var = 0.0005 | 0.8410 | 0.8266 | |
| var = 0.001 | 0.7849 | 0.7667 | |
| S&P noise | d = 0.001 | 0.9975 | 0.9973 |
| d = 0.005 | 0.9871 | 0.9862 | |
| d = 0.01 | 0.9720 | 0.9683 |
Comparison of time complexity.
| Algorithm | Encryption Process | |
|---|---|---|
| Scrambling | Diffusion | |
| Algorithm in this paper |
|
|
| Ref. [ |
|
|
| Ref. [ |
| Same as this paper |
| Ref. [ | Same as Ref. [ | Same as this paper |
| Ref. [ |
|
|
| Ref. [ |
| Same as this paper |
Performance comparison of algorithms.
| Algorithm | Entropy | Correlation Coefficients | ||
|---|---|---|---|---|
| Horizontal | Vertical | Diagonal | ||
| Algorithm in this paper | 7.9983 | −0.0045 | −0.0103 | 0.0022 |
| Ref. [ | 7.9974 | −0.0230 | 0.0019 | 0.0034 |
| Ref. [ | - | 0.0102 | −0.0053 | −0.0161 |
| Ref. [ | - | −0.0038 | −0.0026 | 0.0017 |
| Ref. [ | 7.9974 | 0.0241 | -0.0194 | 0.0243 |
| Ref. [ | 7.9973 | 0.0000 | −0.0011 | 0.0074 |
| Ref. [ | 7.9976 | 0.0030 | −0.0024 | −0.0034 |
| Ref. [ | 7.9974 | −0.0098 | −0.0050 | −0.0013 |
| Ref. [ | 7.9974 | −0.0230 | 0.0019 | −0.0034 |
| Ref. [ | 7.9973 | −0.0226 | 0.0041 | 0.0368 |