| Literature DB >> 33286859 |
Shihua Zhou1,2, Pinyan He1, Nikola Kasabov2,3.
Abstract
This paper presents a dynamic deoxyribonucleic acid (DNA) image encryption based on Secure Hash Algorithm-512 (SHA-512), having the structure of two rounds of permutation-diffusion, by employing two chaotic systems, dynamic DNA coding, DNA sequencing operations, and conditional shifting. We employed the SHA-512 algorithm to generate a 512-bit hash value and later utilized this value with the natural DNA sequence to calculate the initial values for the chaotic systems and the eight intermittent parameters. We implemented a two-dimensional rectangular transform (2D-RT) on the permutation. We used four-wing chaotic systems and Lorentz systems to generate chaotic sequences and recombined three channel matrices and chaotic matrices with intermittent parameters. We calculated hamming distances of DNA matrices, updated the initial values of two chaotic systems, and generated the corresponding chaotic matrices to complete the diffusion operation. After diffusion, we decoded and decomposed the DNA matrices, and then scrambled and merged these matrices into an encrypted image. According to experiments, the encryption method in this paper not only was able to withstand statistical attacks, plaintext attacks, brute-force attacks, and a host of other attacks, but also could reduce the complexity of the algorithm because it adopted DNA sequencing operations that were different from traditional DNA sequencing operations.Entities:
Keywords: DNA coding; SHA-512; color image encryption; two rounds of permutation–diffusion
Year: 2020 PMID: 33286859 PMCID: PMC7597187 DOI: 10.3390/e22101091
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.524
DNA encoding rules.
| Rule | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 00 | A | A | T | T | G | G | C | C |
| 01 | C | G | G | C | A | T | A | T |
| 10 | G | C | C | G | T | A | T | A |
| 11 | T | T | A | A | C | C | G | G |
Figure 1DNA cycle operation.
Figure 2Flowchart of the proposed encryption scheme.
Figure 3Stimulation results of the proposed scheme.
System parameters in the proposed scheme.
| Item | Value |
|---|---|
| System parameters of the four-wing hyperchaotic system | |
| System parameters of the Lorenz chaotic system | |
| System parameters of the 2D-RT | |
| Abandoned numbers of the sequence |
Comparison of key space.
| Algorithm | Ours | Ref. [ | Ref. [ | Ref. [ |
|---|---|---|---|---|
| Key space | 1098 | 2299 | 1098 | 1094 |
Figure 4Key sensitivity results in the encryption process.
Figure 5Key sensitivity results in the decryption process.
NPCR values of the encrypted images.
| Image | Changed Key | R | G | B |
|---|---|---|---|---|
| K1 | 0.9963 | 0.9962 | 0.9960 | |
| K2 | 0.9963 | 0.9957 | 0.9957 | |
| K | 0 | 0 | 0 |
NPCR values of the decrypted images.
| Image | Changed Key | R | G | B |
|---|---|---|---|---|
| K1 | 0.9965 | 0.9964 | 0.9956 | |
| K2 | 0.9964 | 0.9962 | 0.9960 | |
| K | 0 | 0 | 0 |
Figure 6Correlation of two adjacent pixels in the R, G, and B channels for the plain and encrypted image Lena (256 × 256).
Correlation coefficients of the plain and encrypted image with the size of 256 × 256.
| Image | Direction | Plain Image | Encrypted Image | ||||
|---|---|---|---|---|---|---|---|
| R | G | B | R | G | B | ||
| H | 0.968 | 0.949 | 0.932 | 0.014 | 0.011 | 0.009 | |
| Lena | V | 0.943 | 0.896 | 0.887 | 0.011 | 0.020 | 0.022 |
| D | 0.918 | 0.859 | 0.852 | 0.035 | 0.016 | 0.021 | |
| H | 0.939 | 0.955 | 0.925 | 0.005 | −0.015 | −0.006 | |
| Pepper | V | 0.931 | 0.935 | 0.905 | 0.029 | −0.010 | 0.011 |
| D | 0.887 | 0.894 | 0.842 | 0.012 | −0.014 | 0.025 | |
| H | 0.917 | 0.919 | 0.938 | −0.013 | 0.012 | −0.011 | |
| H | 0.950 | 0.895 | 0.938 | −0.014 | −0.010 | −0.004 | |
| Baboon | V | 0.944 | 0.876 | 0.919 | −0.022 | 0.014 | −0.007 |
| D | 0.921 | 0.827 | 0.889 | −0.010 | −0.018 | 0.021 | |
| All | H | #N/A | #N/A | #N/A | −0.011 | 0.015 | 0.012 |
| black | V | #N/A | #N/A | #N/A | −0.021 | −0.016 | −0.016 |
| D | #N/A | #N/A | #N/A | 0.016 | −0.002 | 0.005 | |
| All | H | #N/A | #N/A | #N/A | 0.001 | 0.002 | 0.003 |
| white | V | #N/A | #N/A | #N/A | 0.005 | 0.010 | 0.003 |
| D | #N/A | #N/A | #N/A | 0.003 | 0.004 | 0.001 | |
Comparison of correlation coefficients across methods.
| Algorithm | Encrypted Image | |||
|---|---|---|---|---|
| R | G | B | Average | |
| Ours | 0.0011 | 0.0018 | 0.0024 | 0.0018 |
| Ref. [ | −0.0027 | 0.0033 | −0.0035 | 0.0031 |
| Ref. [ | 0.0096 | 0.0109 | 0.0122 | 0.0109 |
Figure 7Histograms of the plain and encrypted image Lena.
Histogram data of plain and encrypted images.
| Image | Lena | Pepper | Baboon | All Black | All White | |
|---|---|---|---|---|---|---|
| Plain image | R | 76004.8672 | 57105.9766 | 22617.9609 | #N/A | #N/A |
| G | 31563.3516 | 52138.7656 | 36848.7813 | #N/A | #N/A | |
| B | 95871.8906 | 103145.2813 | 35444.8828 | #N/A | #N/A | |
| Encrypted image | R | 229.5391 | 259.8532 | 272.1654 | 263.6427 | 238.7628 |
| G | 231.0976 | 249.9874 | 276.7468 | 263.9653 | 241.7543 | |
| B | 247.1986 | 264.4899 | 286.8965 | 255.3785 | 271.9436 | |
Comparison of histogram variance across methods about image Lena.
| Algorithm | Variance | ||
|---|---|---|---|
| R | G | B | |
| Ours | 229.5391 | 241.9375 | 248.1328 |
| Ref. [ | 249.7265 | 257.4453 | 256.1875 |
| Ref. [ | 247.7800 | 279.6200 | 265.7100 |
Information entropy of plain and encrypted images.
| Image | Plain Image | Encrypted Image | ||||
|---|---|---|---|---|---|---|
| R | G | B | R | G | B | |
| Lena | 7.1655 | 7.5578 | 6.8571 | 7.9974 | 7.9976 | 7.9975 |
| Pepper | 7.3009 | 7.5570 | 7.0929 | 7.9974 | 7.9973 | 7.9972 |
| Baboon | 7.6987 | 7.4251 | 7.5809 | 7.9970 | 7.9970 | 7.9971 |
| All black | 0.0000 | 0.0000 | 0.0000 | 7.9971 | 7.9971 | 7.9972 |
| All white | 0.0000 | 0.0000 | 0.0000 | 7.9974 | 7.9973 | 7.9970 |
Comparison of information entropy across methods about image Lena.
| Algorithm | Information Entropy | ||
|---|---|---|---|
| R | G | B | |
| Ours | 7.9974 | 7.9976 | 7.9975 |
| Ref. [ | 7.9973 | 7.9969 | 7.9971 |
| Ref. [ | 7.9973 | 7.9972 | 7.9969 |
| Ref. [ | 7.9966 | 7.9972 | 7.9967 |
NPCR and UACI values of different encrypted images.
| Image |
|
| ||||
|---|---|---|---|---|---|---|
| R | G | B | R | G | B | |
| Lena | 0.9959 | 0.9960 | 0.9961 | 0.3354 | 0.3344 | 0.3345 |
| Pepper | 0.9962 | 0.9960 | 0.9959 | 0.3341 | 0.3339 | 0.3336 |
| Baboon | 0.9960 | 0.9961 | 0.9959 | 0.3345 | 0.3340 | 0.3334 |
| All black | 0.9961 | 0.9961 | 0.9958 | 0.3344 | 0.3345 | 0.3341 |
| All white | 0.9963 | 0.9959 | 0.9962 | 0.3344 | 0.3334 | 0.3351 |
Comparison of NPCR and UACI values across methods about image Lena.
| Image |
|
| ||||
|---|---|---|---|---|---|---|
| R | G | B | R | G | B | |
| Ours | 0.9959 | 0.9960 | 0.9961 | 0.3354 | 0.3344 | 0.3345 |
| Ref. [ | 0.9960 | 0.9961 | 0.9961 | 0.3356 | 0.3345 | 0.3349 |
| Ref. [ | 0.9961 | 0.9961 | 0.9961 | 0.3343 | 0.3343 | 0.3342 |
| Ref. [ | 0.9963 | 0.9960 | 0.9960 | 0.3360 | 0.3330 | 0.3340 |
Figure 8Stimulation results of occlusion attacks with Lena (256 × 256).
PSNR results with Lena (256 × 256).
| Item | R | G | B |
|---|---|---|---|
| GN with intensity = 0.02 | 28.2541 | 28.5421 | 28.3041 |
| GN with intensity = 0.2 | 27.5014 | 27.3657 | 27.4251 |
| SPN with intensity = 0.0002 | 57.4214 | 56.3527 | 56.8765 |
| SPN with intensity = 0.0005 | 66.5047 | 67.4581 | 66.5041 |
| SPN with intensity = 0.001 | 59.1021 | 61.1042 | 61.5384 |
| 1/8 data loss at the lower-left corner | 30.6874 | 34.5478 | 35.6522 |
| 1/8 data loss at the upper-right corner | 33.0001 | 33.0487 | 32.6894 |
| 1/4 data loss at the lower-right corner | 31.5478 | 31.2587 | 31.3586 |
| 1/4 data loss at the upper-left corner | 29.9564 | 32.7532 | 32.2287 |
Contrast values of plain images and encrypted images in R, G, B channels.
| Image | Plain Image | Encrypted Image | ||||
|---|---|---|---|---|---|---|
| R | G | B | R | G | B | |
| Lena | 0.3672 | 0.3947 | 0.3405 | 10.5208 | 10.4763 | 10.5223 |
| Pepper | 0.1743 | 0.2341 | 0.1668 | 10.4999 | 10.4879 | 10.5112 |
| Baboon | 0.2248 | 0.2204 | 0.2430 | 10.5261 | 10.5012 | 10.4987 |
Energy values of plain images and encrypted images in R, G, B channels.
| Image | Plain Image | Encrypted Image | ||||
|---|---|---|---|---|---|---|
| R | G | B | R | G | B | |
| Lena | 0.1391 | 0.0989 | 0.1756 | 0.0156 | 0.0156 | 0.0156 |
| Pepper | 0.1499 | 0.1183 | 0.1849 | 0.0156 | 0.0156 | 0.0156 |
| Baboon | 0.1047 | 0.1285 | 0.1233 | 0.0156 | 0.0156 | 0.0156 |