Color image encryption method based on improved dual chaotic system and compressed sensing
By combining the improved Logistic chaos system and the hyperchaotic Chen system with compressed sensing technology, the problems of small key space and insufficient security of the color image encryption algorithm in the existing technology are solved, and efficient color image encryption and decryption is achieved, which enhances the The resistance to differential attacks ensures the security and efficiency of image transmission.
Patent Information
- Application Number
- CN202311341362.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-10-17
AI Technical Summary
Existing image encryption algorithms have limitations in terms of small key space, weak security, and reduced redundancy. In particular, the processing effect on color images is not good, and the linear compression method of compressed sensing technology cannot effectively resist differential attacks and selections. Clear text attack.
The improved Logistic chaos system and hyper-chaotic Chen system are combined with compressed sensing technology, through discrete wavelet transform and DNA coding block encryption, to generate chaotic sequences for row and column replacement, improve the key space and attack resistance, and generate keys through hash values. key for enhanced security.
It achieves higher ciphertext image decryption quality and comprehensive performance, can effectively resist differential attacks and selected plaintext attacks, and maintains good encryption performance and efficient image transmission efficiency.
Smart Images

Figure CN117424967B
Abstract
Description
Technical Field
[0001] The invention relates to the field of digital image encryption technology, in particular to a color image encryption method based on an improved dual chaotic system and compressed sensing. Background Art
[0002] With the rapid development of computer network communications and digital technology, images are an important carrier of information transmission in the Internet era. Due to the openness of the Internet, information security has received widespread attention. Image encryption is used as a means of protecting information. By encrypting image information, we can prevent eavesdroppers from obtaining useful information to the greatest extent, thereby ensuring the security of our image information. At the same time, image transmission efficiency is also a very important link. Therefore, it is also very important to complete compression in the process of image encryption.
[0003] In the existing research literature, many different image encryption algorithms have been proposed, including PATEL S, THANIKAISELVAN V, PELUSID, et al. "Colour image encryption based on customized neural network and DNA encoding[J]". Neural Computing and Applications, 2021, 33: 14533-14550, DONOHO D L. Compressed sensing[J]. IEEE Transactions on Information Theory, 2006, 52(4): 1289-1306. DOI: 101109 / TIT.2006.871582. Although these algorithms are innovative, they still have some limitations. For example, some algorithms may have problems such as small key space or low ciphertext information entropy. In addition, some algorithms may have weak security or fail to reduce the redundancy of image information. In order to solve these problems, some research papers have begun to explore new image encryption technologies. For example, compressed sensing theory provides new ideas for image encryption. This technology can reduce the transmission burden of hardware devices and improve the efficiency and security of image encryption. The literature EG, PAN C, DONG Y, et al. "Image encryption and hiding algorithmbased on compressive sensing and random numbers insertion[J]". Signal Processing, 2020, 172: 10756 combines compressed sensing technology with improved chaotic mapping to propose a fast encryption algorithm. The literature XU Q, SUN K, HE S, et al. "An effective image encryption algorithmbased on compressive sensing and 2D-SLIM[J]. Optics and Lasers in Engineering, 2020, 134: 106178 combines compressed sensing technology with hyperchaotic systems to propose an effective image encryption algorithm. In addition, some research literatures have proposed multi-step image encryption schemes based on compressed sensing and multidimensional chaotic systems, Shi Hang, Wang Lidan. "A multi-process image encryption scheme based on compressed sensing and multidimensional chaotic systems[J]". Acta Physica Sinica, 2019, 68(20): 39-52. These schemes can be used for grayscale image encryption and decryption problems, but they may have some limitations.For example, these schemes may not be able to effectively reduce the amount of redundancy in image information, or effectively improve the security and efficiency of image encryption.
[0004] However, compressed sensing is essentially a linear compression method when processing images. Research has overcome the plaintext attack and chosen plaintext attack of compressed sensing on image encryption. Summary of the invention
[0005] In order to solve this problem, this paper proposes a color image encryption algorithm based on dual chaotic system and compressed sensing. Through simulation results and performance analysis, the algorithm proposed in this paper can better resist common attacks such as differential attacks. At the same time, the image decryption quality of this paper is good and the comprehensive performance is high.
[0006] The invention proposes a new algorithm, which utilizes an improved Logistic chaotic system and plaintext to generate the initial value of a hyperchaotic system; then, the improved Logistic chaotic system is firstly used, the mapping range, the initial value range and the parameter value range of the improved Logistic chaotic system are all arbitrary real numbers, the generated chaotic sequence is combined with a plaintext image to generate a plaintext associated key to generate the improved Logistic chaotic system and the hyperchaotic Chen system initial value, the discrete wavelet transform is first used to transform to a sparse domain, and then the chaotic sequence is used to generate a measurement matrix, and the compression encryption is further completed, and then the DNA coding is combined to encrypt the image in blocks, and finally the chaotic sequence generated by the improved Logistic chaotic system is used to perform row and column permutation.
[0007] The encryption method of the present invention combines the advantages of dual chaotic system and compressed sensing technology, uses the hash value of the plaintext image to generate the key, and introduces DNA coding technology to improve the resistance to chosen plaintext attack and differential attack. It not only shows high reconstruction quality, but also can effectively resist various attacks while maintaining good encryption performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 It is an overall flow chart of the color image encryption method based on the improved dual chaotic system and compressed sensing provided by the present invention;
[0009] Figure 2 (a) is the Lena plaintext image, (b) is the Lena ciphertext image, and (c) is the Lena decrypted image;
[0010] Figure 3 (a) is the R channel histogram of the original image, (b) is the G channel histogram of the original image, and (c) is the B channel histogram of the original image;
[0011] Figure 4(a) is the histogram of the R channel of the encrypted image, (b) is the histogram of the G channel of the encrypted image, and (c) is the histogram of the B channel of the encrypted image;
[0012] Figure 5 (a) Correlation diagram of adjacent elements at the level of plaintext R channel, (b) Correlation diagram of adjacent elements at the level of ciphertext R channel. DETAILED DESCRIPTION
[0013] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0014] In order to facilitate the understanding of this solution, the technology in this field is described below.
[0015] (1) Improved Logistic Chaotic System
[0016] The expression of the existing known Logistic chaotic map is:
[0017] x n+1 =μx n (1-x n ) (1)
[0018] Where μ is the control parameter, ranging from (0,4], x n The range is [0,1]. However, the Logistic chaotic mapping has defects such as small parameter range and uneven point distribution, which leads to a small key space and unsatisfactory encryption effect.
[0019] The inventor proposed an improved Logistic chaotic mapping expression:
[0020] x n+1 =mod(μx n (1-x n ),1) (2)
[0021] By adding modular operations, the parameters and initial values of the chaotic map can break through the value restrictions, thereby expanding the key space of the encryption system. The improved Logistic chaotic map allows parameters and initial values to take any real number range.
[0022] (2) DNA encoding, decoding and computing
[0023] DNA is composed of four deoxynucleotides: adenine (A), cytosine (C), guanine (G), and thymine (T). In DNA encoding and decoding and calculation, two binary numbers can be used to represent the four deoxynucleotides of DNA, following the complementary rules of 0 and 1. The addition, subtraction, XOR and XOR operation rules of DNA are the same as those in the binary system.
[0024] (3) Hyperchaotic Chen system
[0025] The expression of hyperchaotic Chen system is:
[0026]
[0027] In the above description, x i =dx i / dt represents the system state variable x i (where i = 1, 2, 3, 4) is the derivative with respect to time t. a, b, c, d, e are the parameters of the chaotic system. When a = 35, b = 3, c = 12, d = 7, e = 0.6, the system represented by equation (3) is in a hyperchaotic state. At this time, the system has two positive Lyapunov exponents for a long time and has more significant chaotic behavior.
[0028] (4) Compressed sensing
[0029] According to the theory of compressed sensing, the sparse representation of sparse signals means that the original signal has only a few non-zero elements on a certain basis, which is usually called a sparse basis. Discrete cosine transform (DCT) or discrete wavelet transform (DWT) are commonly used sparse bases.
[0030] For a signal x of length N, the sparse process expression of the signal is:
[0031] x=ψs (4)
[0032] The sparse basis matrix ψ is a matrix of size N×N. Commonly used sparse representation methods include discrete cosine transform (DCT) and discrete wavelet transform (DWT). s is a sparse coefficient vector of size N×1, which has only K non-zero elements. If there are only K non-zero coefficients in s, then it can be said that the signal x is K-sparse under the sparse basis ψ. Next, it is necessary to construct a measurement matrix of size M×N (M is less than N) This matrix is unrelated to the sparse basis matrix ψ. By projecting the signal x onto the measurement matrix The measured value after sampling can be obtained Where Θ is the sensor matrix, y is the measured value of length M obtained after sampling, and the mathematical representation of the measured value after sampling obtained by dimensionality reduction projection of signal x is:
[0033]
[0034] Embodiment 1
[0035] Reference Figure 1 As shown, the encryption method steps are as follows:
[0036] The read plaintext color digital image of size M×N is denoted as I, and I is divided into three two-dimensional matrices of R, G, and B.
[0037]
[0038] The padding data value is set to 0, and the three two-dimensional matrices are filled so that their sizes meet the following requirements:
[0039]
[0040] Where t is the block size. The image size after zero padding is reassigned to M and N.
[0041] Get the chaotic sequence: given the initial value x a and parameter μ a According to formula (2), the improved Logistic map is iterated continuously and the 500th and 501st items are taken as m 500 ,n 501 , with (m 500 M,n 501 N) as the dividing point, the matrix I 1 , I 2 , I 3 Divide into four parts, select I 1 , I 2 , I 3 The first part is to obtain the hash values of the three sub-regions through SHA-256, and the three hash values are bit-by-bit XORed to obtain the joint hash value denoted as Hm, and Hm is divided into two parts of equal length: Hm 1 , Hm 2 , initial value x 0 The expression generated by and parameter μ is:
[0042] x 0 =hex2dec(Hm 1 (1:8))×10 10 +hex2dec(Hm 1 (9:16))×10 15 (8)
[0043] μ=hex2dec(Hm 2 (1:8))×10 10 +hex2dec(Hm 2(9:16))×10 15 (9)
[0044] Use x 0 and parameter μ to obtain the sequence {k i}, set the length of the obtained sequence to 500+2+2MN+M+N, discard the first 500 values
[0045] (K 500 M,K 501 N) as the dividing point, the matrix I 1 , I 2 , I 3 Divide into four parts, select I 1 The second part, I 2 Part III, I 3 The fourth part is to obtain the hash values of the three sub-regions through SHA-256, and the three hash values are bit-by-bit XORed to obtain the joint hash value denoted as H, and H is divided into H with equal length. 1 , H 2 , H 3 , H 4 .The initial value of the hyperchaotic Chen system is:
[0046]
[0047] After setting the initial values and parameters, the hyperchaotic Chen system is calculated and four lengths are obtained, all of which are 500+(M×N) / t 2 The first 500 items of the sequence {Xi}, {Yi}, {Zi}, {Qi} are discarded, and items 502 to 501+MN of the sequence {ki} are converted into a matrix R of size M×N, and the values of the matrix are converted into the range of 0 to 255 through the modulo operation for DNA operation with Ii (i=1,2,3).
[0048] Apply discrete wavelet transform (DWT) to transform image I 1 ,I 2 ,I 3 Convert to the sparse domain and arrange in ascending order of absolute value to generate the sequence Ps1, Ps2, Ps3. Through experiments, it is found that the effect is ideal when the sparse matrix 0 value accounts for 87.5% of the entire matrix, and the sparse coefficient matrix Pa, Pb, Pc is obtained, and the matrix size is M×N.
[0049] The items in the sequence {ki} are transformed from 502+MN+M+N to 501+2MN+M+N to form a sequence S. S is reshaped into a random measurement matrix Φ with size M rows and N columns in a column-first manner. Then, Φ is used to measure Pa, Pb, and Pc to obtain the measured matrices P1, P2, and P3.
[0050] The sub-blocks at the same position of P1, P2, and P3 use the same DNA encoding method, which is uniformly determined by {Xi}; the DNA encoding method of each sub-block of the R matrix is determined by {Yi}. The {Xi} and {Yi} sequences are transformed as follows:
[0051]
[0052] The DNA encoding method of the i-th sub-block in P1, P2, and P3 is the same as Xi, and the DNA encoding method of the i-th sub-block in the chaotic matrix R is Yi. The same sequence {Zi} rule generated by the hyperchaotic Chen system is used between P1, P2, P3 and the corresponding blocks of R, and the sequence {} is transformed as follows:
[0053] Z = mod(round(Z × 10 4 ),4)+1 (12)
[0054] Zi=0, 1, 2, 3 use addition, subtraction, XOR, XOR operation respectively. In order to obtain better diffusion effect, except for the first sub-block, the encryption result of the current sub-block is subjected to DNA operation with the previous sub-block, and the operation rule is determined by the sequence {Zi}. After the DNA operation, the matrix is decoded in blocks, where the sequence {Qi} is the DNA decoding rule for the sub-block after the operation. DNA decoding is the inverse process of DNA encoding, and there are also eight decoding methods. Transform the {Qi} sequence as follows:
[0055] X = mod (round (X × 10 4 ),8)+1 (13)
[0056] The DNA decoding method of the i-th sub-block in P1, P2, and P3 is the same as Qi.
[0057] Suppose the 502+MN to 501+MN+M items and the 502+MN+M to 501+MN+M+N items in the sequence {ki} are the sequences {km} and {kn} respectively, arrange the sequences {km} and {kn} in descending order, and obtain the plus-one sequences M and N at the corresponding positions.
[0058]
[0059] The matrix of the three channels after DNA decoding is exchanged with the M sequence value as the row coordinate and the N sequence value as the column coordinate, and the matrix is permuted in rows and columns. The encrypted image I is obtained. e1 ,I e2 ,I e3 ,Merge I e1 ,I e2 ,I e3 The three layers get the final ciphertext image.
[0060] The inverse process of the encryption process is the decryption process. In the image reconstruction process, we use a non-convex optimization algorithm to reconstruct low-dimensional observations into high-dimensional original signals, thereby realizing the reconstruction problem of compressed sensing. Specifically, the orthogonal matching pursuit algorithm (OMP) is used to reconstruct the image. The OMP algorithm is an effective greedy pursuit algorithm that can track the atoms that best match the known signal, thereby effectively restoring the image compressed by the compressed sensing technology. By using the OMP algorithm, we can effectively restore the image compressed by the compressed sensing technology.
[0061] Through simulation, the following encryption and decryption experimental results are obtained. This simulation experiment is carried out in Windows 11, Matlab r2018a environment. Lena's plaintext image, ciphertext image, and decrypted image are as follows: Figure 2 As shown in (a, b, c).
[0062] The following is an analysis of the security performance of this solution from several dimensions.
[0063] 1. Key Space Analysis
[0064] In order to effectively resist brute force attacks, the key range in image encryption algorithms must be wide. When the key range is greater than 2 to the power of 100, the success rate of brute force attacks can be significantly reduced. In this paper, we propose a method to generate initial values with the help of chaos theory, aiming to generate a 256-bit hash value and use it as part of the key, while the rest of the key part consists of an initial value. Based on the computer's precision of 10 to the power of -15, our key range can reach 2 to the power of 306, which is much larger than 2 to the power of 100. Therefore, the algorithm has a large enough key range to effectively resist brute force attacks.
[0065] 2. Histogram Analysis
[0066] The histogram shows the frequency of each grayscale value, which can clearly show the pixel distribution pattern of a picture. Figure 3 (a), (b) and (c) are the R, G and B channel histograms of the original image respectively. Figure 4 (a), (b) and (c) are the histograms of the R, G and B channels of the encrypted image respectively. For an excellent encrypted image, the histogram is horizontal.
[0067] 3. Correlation Analysis
[0068] In order to evaluate the correlation of the ciphertext image, we can randomly select 5000 pairs of adjacent pixel values in each direction of the ciphertext image and calculate their correlation coefficients. According to equations (15) and (16), the correlation coefficients of adjacent pixels can be calculated. By calculating the correlation coefficients of the plaintext and ciphertext images, we can obtain an image of the correlation of adjacent elements at the R channel level of the original image as shown in Figure 5 As shown in (a), the image of the correlation of adjacent elements in the R channel after encryption is as follows: Figure 5 As shown in (b), the calculation results of the correlation coefficients of the plaintext and ciphertext images are listed in Tables 1 and 2. According to the observation results, we can find that the correlation between the pixels in the three channels of the original plaintext image in the horizontal, vertical and diagonal directions is very strong, and its correlation coefficient is very close to 1. However, after encryption, the correlation coefficients of the ciphertext image in these three directions are close to zero, which shows that the encryption system successfully eliminates the correlation between adjacent pixels, which meets the ideal encryption effect.
[0069]
[0070] where x and y are pixel values,
[0071]
[0072]
[0073]
[0074] Table 1. Correlation coefficient diagram of plaintext images
[0075]
[0076]
[0077] Table 2. Correlation coefficient diagram of ciphertext images
[0078] 4. Information Entropy
[0079] Information entropy is a mathematical tool used to quantify the uncertainty and confusion of information. In the field of image processing and computer vision, information entropy is used to evaluate the randomness of image pixel values. The definition of information entropy is:
[0080] H(x)=-∑p(x)log2p(x) (17)
[0081] Where X represents a random variable, p(x) represents the probability that X takes the value x, N is the grayscale of the image, and is the size of the set {x}.
[0082] According to formula (17), the information entropy of a 256-level image can be calculated to be 8. In order to compare with the encryption results of this paper, this paper calculates the information entropy of the three channels of the encrypted image R, G, and B respectively. At the same time, it is also compared with the information entropy of the three channels of the encrypted image R, G, and B in comparison scheme 1 and comparison scheme 2. Through comparison, it is known that under the encryption algorithm of this paper, the information entropy of Lena's ciphertext image is closer to the ideal value of 8. Therefore, the algorithm can resist brute force statistical analysis more ideally.
[0083] Comparison scheme 1: Zhang Shuxia, Li Shanshan, Bai Mudan, et al. "Digital color image encryption technology based on chaotic system[J]". Science Technology and Engineering, 2022, 22(13): 5291-5298.
[0084] Comparison Scheme 2: Sun Shushu. "Color Image Compression Encryption Algorithm Based on Chaotic System" [D]. Tianjin University, 2023. DOI: 10.27356 / d.cnki.gtjdu.2020.004582.
[0085]
[0086] Table 3 Entropy table of ciphertext image
[0087] 5. Differential Attack Analysis
[0088] Differential attack is essentially a chosen plaintext attack. The attacker analyzes the difference between the plaintext image and the ciphertext image to obtain the encryption key of the algorithm as much as possible and find the correspondence between the plaintext and ciphertext images. In the analysis of anti-differential attack, the two indicators of the number of pixels change rate (NPCR) and the average change intensity (UACI) are usually used to evaluate the performance of the algorithm. The calculation formula of NPCR is:
[0089]
[0090] Where M and N are the width and height of the two random images respectively, and D(i,j) is defined as the percentage of pixels with different pixel values to the total number of pixels in the image.
[0091]
[0092] Where N is the total number of pixels in the image, C 1 (i,j),C 2 (i, j) are the pixel values of the original image and the compressed image at position (i, j), respectively.
[0093]
[0094] Table 4 Comparison of NPCR and UACI values of different encryption methods
[0095] Under ideal conditions, the ideal values of NPCR and UACI are 99.6094% and 33.4635%. Table 4 shows that the effects of each algorithm are good.
[0096] Comparison scheme 3: WANG XY, ZHANG YQ, BAO X M. "A novel chaotic image encryption scheme using DNA sequence operations[J]". Optics and Lasers in Engineering, 2015, 73: 53-61.
[0097] Comparison scheme 4: WANG X, CHEN S, ZHANG Y. "A chaotic image encryption algorithm based on random dynamic mixing [J]". Optics&Laser Technology, 2021, 138: 106837.
[0098] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A color image encryption method based on an improved dual chaotic system and compressed sensing, characterized in that: The following steps are involved: Step 1. Read a plaintext color digital image of size M×N, i.e., M rows and N columns. The plaintext color digital image is denoted as I. I is divided into three two-dimensional matrices I1, I2, and I3 of R, G, and B. The three two-dimensional matrices I1, I2, and I3 are filled with data so that their sizes meet the requirements. Step 2. Select the dividing point, and for the improved Logistic chaotic map, continuously iterate and take the 500th and 501th items as m 500 , n 501 , with ([m 500 M],[n 501 N]) as the dividing point; divide the matrices I1, I2, and I3 into four parts respectively, select the first part of I1, I2, and I3 respectively, and obtain the hash values of the three sub-areas through SHA-256. The three hash values are bit-by-bit XORed to obtain the joint hash value recorded as Hm, and Hm is divided into two parts of equal length: Hm1 and Hm2. The expression generated by the initial value x0 and the parameter μ is: x0=hex2dec(Hm1(1:8))×10 10 +hex2dec(Hm1(9:16))×10 15 μ=hex2dec(Hm2(1:8))×10 10 +hex2dec(Hm2(9:16))×10 15 Using x0 and parameter μ, we get the sequence {k i }, set the length of the obtained sequence to 500+2+2MN+M+N, and discard the first 500 values; Step 3. The expression of the improved Logistic chaotic map is x n+1 =mod(μx n (1-x n ), 1), by combining hash values Hm1, Hm2 to generate the initial value x0 and the parameter μ improved Logistic chaotic sequence {k i }; Take the newly generated chaotic sequence {k i }The 500th and 501st items are K 500 , K 501 , with ([K 500 M],[K 501 N]) as the dividing point, the matrices I1, I2, and I3 are divided into four parts respectively. The second part of I1, the third part of I2, and the fourth part of I3 are selected. The hash values of the three sub-areas are obtained by SHA-256. The three hash values are bit-by-bit XORed to obtain the joint hash value denoted as H. H is divided into H1, H2, H3, and H4 of equal length. The initial value of the hyperchaotic Chen system is: After setting the initial values and parameters, the hyperchaotic Chen system is calculated and four lengths are obtained, all of which are 500+(M×N) / t 2 The sequence {Xi}, {Yi}, {Zi}, {Qi}, where t is the block size, discard the first 500 items, convert the 502 to 501+MN items of the sequence {ki} into a matrix R of size M×N, and convert the matrix values into the range of 0 to 255 through the modulo operation for comparison with I i , i = 1, 2, 3, perform DNA operations; Take the joint hash values H1, H2, H3, H4 and combine them with the Chen hyperchaotic system to get the sequence {Xi}, {Yi}, {Zi}, {Qi}; Step 4. Apply discrete wavelet transform to transform the three two-dimensional matrices I1, I2, and I3 of the image into a sparse domain and arrange them in ascending order of absolute value to generate a sequence Ps1, Ps2, and Ps3; Step 5. The items in the sequence {ki} are transformed from 502+MN+M+N to 501+2MN+M+N to form a sequence S. S is reshaped into a random measurement matrix Φ with a size of M rows and N columns in a column-first manner. Φ is used to measure Ps1, Ps2, and Ps3 to obtain the measured matrices P1, P2, and P3. Step 6. Convert the 502th to 501+MNth items of the sequence {ki} into an R matrix of size M×N, and convert the values of the matrix into the range of 0 to 255 by the modulo operation for comparison with I i , i = 1, 2, 3, DNA operation is performed; the sub-blocks at the same position of matrices P1, P2, and P3 are encoded using the same DNA encoding method, which is determined by {Xi}; the DNA encoding of each sub-block of matrix R is determined by {Yi}; The operation rules between P1, P2, P3 and the corresponding blocks of R adopt the sequence {Zi}; after DNA operation, the matrix is decoded in blocks, where the sequence {Qi} is the DNA decoding rule for the sub-blocks after operation; Step 7. Let the 502+MN to 501+MN+M and 502+MN+M to 501+MN+M+N items in the sequence {ki} be the sequences {km} and {kn} respectively, arrange the sequences {km} and {kn} in descending order, and obtain the plus-one sequences M′ and N′ at the corresponding positions; Step 8. The matrix of the three channels after DNA decoding is exchanged with the M′ sequence value as the row coordinate and the N′ sequence value as the column coordinate, and the matrix is permuted in rows and columns; the encrypted image I is obtained. e1 , I e2 , I e3 , Merge I e1 , I e2 , I e3 The three layers get the final ciphertext image.
2. The color image encryption method based on the improved dual chaotic system and compressed sensing according to claim 1, characterized in that: In step 1, the data value is filled with 0, and the sizes of the three two-dimensional matrices I1, I2, and I3 after filling satisfy: Among them, t is the block size, and the image size after zero padding is reassigned to M and N.
