Image encryption communication system based on sequence random decomposition

By decomposing the chaotic sequence into a high-complexity sequence through the sequence random decomposition algorithm and combining it with the chaotic system, the problem of low efficiency and insufficient security of the traditional encryption algorithm in large-scale image encryption is solved, and efficient and secure image encryption communication is achieved.

CN118869897APending Publication Date: 2024-10-29HUNAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081405.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Traditional encryption algorithms are inefficient when encrypting large-scale, highly redundant and highly correlated digital image information, and the randomness of chaotic sequences is strongly correlated with the initial state, resulting in low encryption complexity and reduced security.

Method used

An image encryption communication system based on sequence random decomposition is designed. The chaotic sequence is decomposed into multiple high-complexity random decomposition sequences through the sequence random decomposition algorithm, and combined with the chaotic system, it is used to encrypt three color images. Layer, improves the encryption effect.

Benefits of technology

It significantly improves the complexity and randomness of chaotic sequences, enhances the security and effectiveness of image encryption, and can effectively protect image information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869897A_ABST
    Figure CN118869897A_ABST
Patent Text Reader

Abstract

The invention discloses an image encryption communication system based on sequence random decomposition. From the perspective of sequence decomposition, a sequence random decomposition algorithm is designed, and a low-complexity sequence can be decomposed into a large number of high-complexity random decomposition sequences. A sequence random decomposition algorithm is used for processing a chaotic sequence output by a chaotic system, and a random decomposition sequence with high complexity can be obtained. A random decomposition sequence algorithm and a chaotic system are combined to construct an image encryption communication system based on sequence random decomposition. According to the method, the complexity for encrypting the sequence is improved, the situation that the complexity of an output sequence of a chaotic system is not high possibly is prevented, and the security of image encryption communication is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to an image encryption communication system based on sequence random decomposition. Background Art

[0002] When images are stored and transmitted in an open network, they are vulnerable to attacks, posing a huge threat to image security. Image encryption is an important way to protect image security. The encryption efficiency of traditional encryption algorithms is low, and they are not suitable for encrypting digital image information with large data volumes, high redundancy, and strong correlation. The quasi-random characteristics of chaotic sequences make them suitable as carriers of information sources for information encryption, and they have potential application value in the field of encrypted communications. At present, encryption methods based on chaotic sequences can meet the needs of large amounts of image encryption data, but the randomness of the chaotic sequences used in general chaotic encryption algorithms is strongly correlated with the initial state and parameters of the chaotic system, and there may be problems such as low complexity of the chaotic system output sequence and chaotic degradation. In addition, existing computers cannot perform completely ideal simulation solutions to chaotic systems. The longer the chaotic sequence output by a chaotic system, the greater the possibility of the sequence generating a cycle. These shortcomings reduce the security of chaotic encryption systems for encrypting different objects to a certain extent.

[0003] How to increase the number and complexity of chaotic sequences at the same time is the key to solving this problem. Classical signal decomposition methods such as wavelet decomposition, empirical mode decomposition, and intrinsic time scale decomposition will decompose irregular frequency signals into single frequency signals, that is, decompose complex sequences into multiple simple sequences. In the process of decomposition, the complexity of the output sequence will continue to decrease. The biggest feature of chaotic sequences is that they generally have high complexity. If the chaotic sequence is processed by the above decomposition methods, the complexity of the decomposed sequence will be greatly reduced, which will reduce the encryption effect. Therefore, these signal decomposition methods are not suitable for decomposing chaotic sequences to obtain more complex sequences. Summary of the invention

[0004] Based on the above background, the present invention proposes an image encryption communication system based on sequence random decomposition. From the perspective of sequence decomposition, a sequence random decomposition algorithm is designed. In the process of sequence decomposition, the sequence can be decomposed into multiple sequences, further improving the complexity of the sequence, and maintaining the integrity of the sequence to be decomposed. The sequence random decomposition algorithm can obtain a large number of high-complexity sequences by decomposing chaotic sequences, and it is combined with a chaotic system to construct an image encryption communication system based on sequence random decomposition.

[0005] The specific technical solutions of the present invention are as follows.

[0006] An image encryption communication system based on sequence random decomposition comprises the following steps:

[0007] Encryption process steps: A1. Enter the size of the encryption part. U×V× 3 Color images P RGB ( U×V ) and encryption key[ x 1(0), x 2(0), x 3(0), b , B 1, B 2, r ], and the encryption key x 1(0), x 2(0), x 3(0), b Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1; A2. Set the number of decompositions m =4, let S = X 1. Joint encryption key r , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; A3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32 ) is rounded, floor (•) The function is a rounding function, which converts the floating point random decomposition sequence into an integer random decomposition sequence; A4. Decompose the random sequence after rounding M i , i=2,3,4 pairs U×V Modulus, used for color images P RGB ( U×V ) P R ( U×V ), P G ( U×V ), P B ( U×V ) to perform scrambling processing and obtain three scrambled layers Z R ( U ×V ), Z G ( U×V ), Z B ( U×V ); A5. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, joint encryption key B 1, B 2, used for three scrambled layers Z R ( U×V ), Z G ( U×V ), Z B ( U×V ) to perform forward diffusion and reverse diffusion. First, perform forward diffusion on the three scrambled layers to obtain three forward diffusion layers. FK R ( U×V ), FK G ( U×V ), FK B ( U×V ), and then the three forward diffusion layers are subjected to reverse diffusion processing to obtain three reverse diffusion layers R R ( U×V ), R G ( U×V ), R B ( U×V ); A6. Diffuse the three layers in reverse R R ( U×V), R G ( U×V ), R B ( U×V ) to obtain the encrypted image E RGB ( U×V ); Encrypted image E RGB ( U×V ) can be transmitted to the decryption part for decryption.

[0008] Decryption process steps: B1. Encrypt the image E RGB ( U×V ) is transferred to the decryption part and the decryption key is entered [ x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ , B 1 ´ , B 2 ´ , r´ ], the decryption key x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1; B2. Set the number of decompositions m =4, let S = X 1. Joint decryption key r´ , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; B3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32 ) performs rounding processing to convert the floating point random decomposition sequence into an integer random decomposition sequence; B4. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, combined decryption key B 1 ´ , B 2 ´ , respectively used for encrypting images E RGB ( U×V ) E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion and reverse forward diffusion. E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion processing to obtain three reverse back diffusion layers NRK R ( U×V ), NRK G ( U×V ), NRK B ( U×V ), and then the three reverse back diffusion layers are subjected to reverse forward diffusion processing to obtain three reverse forward diffusion layers NFK R ( U×V ), NFK G ( U×V ), NFK B ( U×V ); B5. Decompose the random sequence after roundingM i , i =2,3,4 pairs U×V Take the modulus and use it for the three reverse forward diffusion layers to perform reverse scrambling processing, and get three reverse scrambling layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ); B6. Inverse scramble the three layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ) to obtain the decrypted image D RGB ( U×V ).

[0009] Preferably, a sequence random decomposition algorithm is designed, and the sequence random decomposition algorithm in step A2 and step B2 includes the following steps: S1. Identify the sequence to be decomposed S , the length is L , set the number of decompositions to m , for the sequence S Normalize the sequence S Normalized to the interval [-1,1], the corresponding normalization formula is shown in formula (1); ; In formula (1), the sequence S 1 is the sequence S The sequence obtained after normalization; S min For sequence S The smallest subelement in S max For sequence S The largest child element in; S2. Sequence S i The first element of S i (1) Perform sine operation and take absolute value processing, and obtain |sin( S i (1))|as initial value α i (1), set the control parameters tor , through the Logistic chaotic map iteration L -1 time obtained L Chaos decomposition coefficient α i , the corresponding processing process is shown in formula (2); ; In formula (2), it is necessary to satisfy α i ∈(0,1), when | S i (1)|=0, let S i (1)=0.1; S3. Use formula (3) to perform random mapping, and use the chaotic decomposition coefficient α i and sequence S i The sine and cosine operations of corresponding elements obtain the sequence in the random decomposition sequence M i ; ; S4. Decompose the sequence by formula (4) S i with sequence M i Subtract to obtain the sequence in the random decomposition sequence N i , and the resulting sequence N i As a new sequence to be decomposed S i+1 ; Repeat S2 to S4, loop m times, you can get 2 m Random decomposition sequence M i , N i , i =1,2,…, m ; ; From formula (4), we can get: S i = M i + N i , N i+1 = N i - M i+1 , S 1=( M1+ M 2+…+ M m )+ N m , through the resulting random decomposition sequence M i , i =1,2,…, m and N m Able to composite normalized sequences S 1. Again S 1. Denormalization can restore the original sequence S , the denormalization process corresponding to formula (1) is shown in formula (5); .

[0010] The chaotic sequence used for information encryption needs to have sufficient randomness to ensure the encryption effect. That is, the higher the complexity of the chaotic sequence, the better the encryption effect.

[0011] Compared with the prior art, the present invention has the following beneficial effects:

[0012] 1. A sequence random decomposition algorithm is designed. The sequence random decomposition algorithm is used to process the decomposed sequence to construct a random decomposition sequence, which can increase the number of sequences, further improve the complexity of the sequence, and enhance the randomness of the sequence. It can be used in fields such as random number generation and signal encryption. The random decomposition sequence obtained by the sequence random decomposition algorithm is combined and denormalized to restore the original decomposition sequence.

[0013] 2. Combining the random decomposition sequence algorithm with the chaotic system, an image encryption communication system based on random decomposition of sequences is constructed. Even if the complexity of the chaotic sequence output by the chaotic system is very low, the random decomposition sequence obtained after decomposition can also have a high complexity. The image encryption communication system based on random decomposition of sequences can generate a random decomposition sequence of corresponding size according to the size of the image, and use the high-complexity random decomposition sequence to encrypt the three layers of the color image respectively. Each layer is encrypted through different random decomposition sequences, which improves the effectiveness and security of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0015] Figure 1The present invention is a specific processing flow chart of an image encryption communication system with random sequence decomposition.

[0016] Figure 2 It is a flowchart of the sequence random decomposition algorithm and recovery processing.

[0017] Figure 3 It is the waveform diagram of the sine sequence and the corresponding random decomposition sequence.

[0018] Figure 4 This is a comparison chart of the SE complexity of the sine sequence and the corresponding decomposition sequence.

[0019] Figure 5 Waveform diagram of chaotic sequence and corresponding random decomposition sequence.

[0020] Figure 6 It is a comparison chart of SE complexity between chaotic sequence and corresponding random decomposition sequence.

[0021] Figure 7 They are the original image Baboon-P, the encrypted image Baboon-E and the decrypted image Baboon-D of the Baboon image.

[0022] Figure 8 is the histogram of the original image Baboon-P and the histogram of the encrypted image Baboon-E.

[0023] Fig. 9 The Baboon images are the original image Baboon-P, the encrypted image Baboon-E and the erroneous decrypted image Baboon-Error. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] The present invention discloses an image encryption communication method and system based on sequence random decomposition. The specific processing flow is as follows: Figure 1 , including the following steps:

[0026] Encryption process steps: A1. Enter the size of the encryption part. U×V× 3 Color images P RGB ( U×V ) and encryption key[ x 1(0), x 2(0),x 3(0), b , B 1, B 2, r ], and the encryption key x 1(0), x 2(0), x 3(0), b Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1; A2. Set the number of decompositions m =4, let S = X 1. Joint encryption key r , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; A3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32 ) is rounded, floor (•) The function is a rounding function, which converts the floating point random decomposition sequence into an integer random decomposition sequence; A4. Decompose the random sequence after rounding M i , i =2,3,4 pairs U×V Modulus, used for color images P RGB ( U×V ) P R ( U×V ), P G ( U×V ),P B ( U×V ) to perform scrambling processing and obtain three scrambled layers Z R ( U ×V ), Z G ( U×V ), Z B ( U×V ); A5. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, joint encryption key B 1, B 2, used for three scrambled layers Z R ( U×V ), Z G ( U×V ), Z B ( U×V ) to perform forward diffusion and reverse diffusion. First, perform forward diffusion on the three scrambled layers to obtain three forward diffusion layers. FK R ( U×V ), FK G ( U×V ), FK B ( U×V ), and then the three forward diffusion layers are subjected to reverse diffusion processing to obtain three reverse diffusion layers R R ( U×V ), R G ( U×V ), R B ( U×V ); A6. Diffuse the three layers in reverse R R ( U×V ), R G ( U×V ), R B ( U×V ) to obtain the encrypted image E RGB ( U×V ); Encrypted image E RGB( U×V ) can be transmitted to the decryption part for decryption.

[0027] Decryption process steps: B1. Encrypt the image E RGB ( U×V ) is transferred to the decryption part and the decryption key is entered [ x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ , B 1 ´ , B 2 ´ , r´ ], the decryption key x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1; B2. Set the number of decompositions m =4, let S = X 1. Joint decryption key r´ , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; B3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32) performs rounding processing to convert the floating point random decomposition sequence into an integer random decomposition sequence; B4. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, combined decryption key B 1 ´ , B 2 ´ , respectively used for encrypting images E RGB ( U×V ) E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion and reverse forward diffusion. E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion processing to obtain three reverse back diffusion layers NRK R ( U×V ), NRK G ( U×V ), NRK B ( U×V ), and then the three reverse back diffusion layers are subjected to reverse forward diffusion processing to obtain three reverse forward diffusion layers NFK R ( U×V ), NFK G ( U×V ), NFK B ( U×V ); B5. Decompose the random sequence after rounding M i , i =2,3,4 pairs U×V Take the modulus and use it for the three reverse forward diffusion layers to perform reverse scrambling processing, and get three reverse scrambling layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ); B6. Inverse scramble the three layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ) to obtain the decrypted image D RGB ( U×V ).

[0028] The specific processing flow of the sequence random decomposition algorithm described in the above steps A2 and B2 is as follows: Figure 2 As shown, the following steps are included: S1. Identify the sequence to be decomposed S , the length is L , set the number of decompositions to m , for the sequence S Normalize the sequence S Normalized to the interval [-1,1], the corresponding normalization formula is shown in formula (1); ; In formula (1), the sequence S 1 is the sequence S The sequence obtained after normalization; S min For sequence S The smallest subelement in S max For sequence S The largest child element in; S2. Sequence S i The first element of S i (1) Perform sine operation and take absolute value processing, and obtain |sin( S i (1))|as initial value α i (1), set the control parameters to r , through the Logistic chaotic map iteration L -1 time obtained L Chaos decomposition coefficient α i , the corresponding processing process is shown in formula (2); ; In formula (2), it is necessary to satisfy α i ∈(0,1), when | S i (1)|=0, let S i (1)=0.1; S3. Use formula (3) to perform random mapping, and use the chaotic decomposition coefficient α i and sequence S i The sine and cosine operations of corresponding elements obtain the sequence in the random decomposition sequence M i ; ; S4. Decompose the sequence by formula (4) S i with sequence M i Subtract to obtain the sequence in the random decomposition sequence N i , and the resulting sequence N i As a new sequence to be decomposed S i+1 ; Repeat S2 to S4, loop m times, you can get 2 m Random decomposition sequence M i , N i , i =1,2,…, m ; ; From formula (4), we can get: S i = M i + N i , N i+1 = N i - M i+1 , S 1=( M 1+ M 2+…+ M m )+ N m , through the resulting random decomposition sequence M i , i =1,2,…, m andN m Able to composite normalized sequences S 1. Again S 1. Denormalization can restore the original sequence S , the denormalization process corresponding to formula (1) is shown in formula (5); .

[0029] Spectral entropy (SE) complexity can represent the complexity of a sequence. The simpler the structure of the sequence, the closer the SE value is to 0, indicating that the complexity of the sequence is smaller; the more complex the structure of the sequence, the closer the SE value is to 1, indicating that the complexity of the sequence is higher.

[0030] Embodiment 1

[0031] Taking a sinusoidal signal with SE complexity close to 0 as an example, let S = A sin(2 πf 0 t ), A =2, f 0=1, the signal sampling frequency is 100Hz, the sampling is 10 seconds, and the length is L = 1000 sine sequence. Set the decomposition dimension m =5, control parameters r =4, treat the decomposition sequence through the sequence random decomposition algorithm S Processing is performed to obtain 10 random decomposition sequences M i , N i , i =1,2,…,5, the specific sequence waveform is as follows Figure 3 As shown, Figure 3 (a) is the waveform of the sine sequence. Figure 3 (b) is the corresponding random decomposition sequence M i , i =1,2,…,5 waveform, Figure 3 (c) is the corresponding random decomposition sequence N i , i =1,2,…,5. Calculate the SE complexity of the sine sequence and 10 corresponding random decomposition sequences. The results are as follows Figure 4 And as shown in Table 1. Figure 4 This is a comparison of the SE complexity of a sinusoidal sequence and the corresponding random decomposition sequence. Figure 4 From Table 1, we can see that the complexity of the decomposed sequence is significantly greater than that of the sine sequence, and even if the complexity of the sequence to be decomposed is very small, i ≥2 starts, random decomposition sequenceM i , N i The SE complexity of the sequences is greater than 0.9, which indicates good randomness. Their dynamic characteristics are more complex and difficult to predict than the original sequences.

[0032] Table 1 SE complexity of sine sequence and corresponding decomposition sequence: .

[0033] Embodiment 2

[0034] Although chaotic systems have more complex dynamic behaviors than general nonlinear systems, and their output chaotic sequences usually have higher SE complexity, not all chaotic sequences have SE complexity close to 1. The Lorenz system is one of the most discussed and cited typical examples of chaotic systems today. With the adjustment of parameters, the Lorenz system has bifurcation and chaos phenomena, as well as various stable phenomena, such as period doubling and fixed points. The Lorenz system equation is shown in equation (6): .

[0035] In formula (6), x 1, x 2, x 3 is the state variable of the system, a , b , c is the system parameter.

[0036] The output sequence of the Lorenz chaotic system is processed by the sequence random decomposition algorithm to further improve the randomness of the chaotic sequence. a =10, b =28, c =8 / 3, at this time the Lorenz system is in a chaotic state. The Lorenz system is numerically simulated by the fourth-order Runge-Kutta method. The initial values ​​of the system state variables are set to [0.1, 0.1, 0.1] and the iteration step is h = 0.01, the number of iterations is set to N = l + L , l =10000, L =10000, remove the first l = 10000 elements, the generated length is L =10000 Chaos Sequence X 1, X 2, X 3. Set the decomposition dimension m =5, control parameters r=4. In chaotic sequence X 1 as an example, let S = X 1. Use the sequence random decomposition algorithm to process the chaotic sequence and obtain 10 random decomposition sequences M i , N i , i =1,2,…,5, the specific sequence timing diagram is as follows Figure 5 As shown, Figure 5 (a) is the waveform diagram of the chaotic sequence. Figure 5 (b) is the corresponding random decomposition sequence M i , i =1,2,…,5 waveform, Figure 5 (c) is the corresponding random decomposition sequence M i , i =1,2,…,5. Calculate the SE complexity of the chaotic sequence and 10 corresponding random decomposition sequences. The results are as follows Figure 6 And as shown in Table 2. Figure 6 This is a comparison chart of the SE complexity of the chaotic sequence and the corresponding random decomposition sequence. Figure 6 From Table 2, it can be seen that when i When ≥2, the SE complexity of the random decomposition sequence is significantly improved compared with the SE complexity of the chaotic sequence, both of which are greater than 0.9. That is, the random decomposition sequence obtained by the sequence random decomposition algorithm is closer to the random sequence than the original chaotic sequence.

[0037] Table 2 SE complexity of chaotic sequences and corresponding random decomposition sequences: .

[0038] Embodiment 3

[0039] Set the encryption key [ x 1(0), x 2(0), x 3(0), b , B 1, B 2, r ]=[0.1,0.1,0.1,28,1,2,4], decryption key[ x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ , B 1 ´ , B 2´ , r´ ]=[0.1,0.1,0.1,28,1,2,4], with a size of 512 × 512 × 3 as an example, the image encrypted and decrypted by the image encryption communication system based on sequence random decomposition is as follows Figure 7 shown. Figure 7 (a) is the original image Baboon-P, Figure 7 (b) is the encrypted image Baboon-E, Figure 7 (c) is the decrypted image Baboon-D. Figure 7 It can be seen that the encrypted image protects the information of the original image well, and the decrypted image is consistent with the original image, which shows that the system has a good image encryption effect.

[0040] Embodiment 4

[0041] Image histogram analysis, correlation coefficient analysis, key sensitivity analysis, information entropy analysis and encryption quality analysis were carried out on the image encryption communication system based on sequence random decomposition.

[0042] Image histogram analysis: The histogram reflects the distribution characteristics of digital image pixel values. Figure 8 (a) is the histogram of the original image Baboon-P. Figure 8 (b) is the histogram of the encrypted image Baboon-E. Figure 8 It can be seen that the distribution of gray values ​​in the histogram of the original image is uneven, that is, the number of gray values ​​in the original image is significantly different. After being encrypted by the image encryption communication system based on sequence random decomposition, the histogram distribution of the encrypted image is uniform, and it is difficult for an attacker to find the pattern of the original image from the gray value usage of the encrypted image.

[0043] Correlation coefficient analysis: For the original image, the correlation between adjacent pixels is strong, while the encrypted image needs to break this correlation to ensure the confidentiality and security of the image. Taking the Baboon image as an example, the correlation coefficients between adjacent pixels in the original image Baboon-P and the encrypted image Baboon-E are calculated, and the obtained correlation coefficients are shown in Table 3. It can be seen that the pixels of the original image Baboon-P have strong correlation in all directions, while the correlation of the pixels of the encrypted image Baboon-E in all directions is close to zero.

[0044] Table 3 Correlation coefficients between adjacent pixels in the original image Baboon-P and the encrypted image Baboon-E: .

[0045] Key sensitivity analysis: Key sensitivity analysis aims to analyze that when the key changes slightly, the two ciphertext images obtained by encrypting the same plaintext image will be completely different, and the encrypted image cannot be decrypted by the original key. Set the encryption key [ x 1(0), x 2(0), x 3(0), b , B 1, B 2, r ]=[0.1,0.1,0.1,28,1,2,4], making a slight change to the decryption key [ x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ , B 1 ´ , B 2 ´ , r´ ]=[0.1,0.1+10 -16 ,0.1,28,1,2,4]. The Baboon image is encrypted with the encryption key, and then the encrypted image is decrypted with the decryption key. The encryption and decryption results are shown in the figure below. Fig. 9 shown. Fig. 9 (a) is the original image Baboon-P, Fig. 9 (b) is the encrypted image Baboon-E, Fig. 9 (c) is the image Baboon-Error after incorrect decryption. Fig. 9 It can be seen that a small difference in the key will cause the decryption to fail, and the decrypted image is completely unrelated to the original image, even if there is only a tiny difference between the encryption key and the decryption key (10 -16 ), and the correct decrypted image is also obtained, which shows that the image encryption communication system based on sequence random decomposition has good key sensitivity.

[0046] Information entropy analysis: Information entropy reflects the uncertainty of image information. The greater the entropy, the greater the uncertainty, that is, the greater the amount of information, the less visible information. For grayscale random images, the theoretical value of information entropy is 8. When the information entropy of an image is infinitely close to 8, it can be regarded as a random image. Table 4 shows the information entropy of the three RGB layers of the original image Baboon-P and the encrypted image Baboon-E. It can be seen from Table 4 that the information entropy of the three RGB layers of the original image Baboon-P is quite different from the theoretical value of a random image, while the information entropy of the three RGB layers of the encrypted image Baboon-E is close to the theoretical value of 8, which has good randomness and the information of the original image is masked.

[0047] Table 4 Information entropy of original image Baboon-P and encrypted image Baboon-E: .

[0048] Encryption quality analysis: The mean square error can be used to measure the difference between two images. The higher the mean square error, the greater the difference between the two images. The peak signal-to-noise ratio is calculated based on the mean square error. For high-quality encrypted images, the peak signal-to-noise ratio between them and the original image is usually less than 10dB. The structural similarity index can be used to evaluate the similarity between two images. The peak signal-to-noise ratio of two identical images is 1, while the peak signal-to-noise ratio of two completely different images is close to 0. Table 5 shows the calculation results of the mean square error, peak signal-to-noise ratio and structural similarity index of the three RGB layers corresponding to the original image Baboon-P and the encrypted image Baboon-E. It can be seen from Table 5 that the mean square error of the three RGB layers corresponding to the original image Baboon-P and the encrypted image Baboon-E is relatively high, the peak signal-to-noise ratio is below 10dB, and the structural similarity index is close to 0. The difference between the original image Baboon-P and the encrypted image Baboon-E is large, and there is no similarity, indicating that the image encryption communication system based on sequence random decomposition has good encryption quality.

[0049] Table 5 Mean square error, peak signal-to-noise ratio and structural similarity of the three RGB layers of the original image Baboon-P and the encrypted image Baboon-E: .

Claims

1. An image encryption communication system based on sequence random decomposition, It is characterized in that The image encryption communication system comprises the following steps: Encryption process steps: A1. Enter the size of the encryption part. U×V× 3 Color images P RGB ( U×V ) and encryption key[ x 1 (0), x 2 (0), x 3 (0), b , B 1 , B 2 , r ], and the encryption key x 1 (0), x 2 (0), x 3 (0), b Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1 ; A2. Set the number of decompositions m =4, let S = X 1 , in the joint encryption key r , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; A3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32 ) is rounded, floor (•) The function is a rounding function, which converts the floating point random decomposition sequence into an integer random decomposition sequence; A4. Decompose the random sequence after rounding M i , i =2,3,4 pairs U×V Modulus, respectively, for color images P RGB ( U ×V ) P R ( U×V ), P G ( U×V ), P B ( U×V ) to perform scrambling processing and obtain three scrambled layers Z R ( U×V ), Z G ( U×V ), Z B ( U×V ); A5. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, joint encryption key B 1 , B 2 , used to shuffle the three layers Z R ( U×V ), Z G ( U×V ), Z B ( U×V ) to perform forward diffusion processing and reverse diffusion processing; firstly, the three scrambled layers are forward diffused to obtain three forward diffusion layers FK R ( U×V ), FK G ( U×V ), FK B ( U ×V ), and then the three forward diffusion layers are subjected to reverse diffusion processing to obtain three reverse diffusion layers R R ( U×V ), R G ( U× V ), R B ( U×V ); A6. Diffuse the three layers in reverse R R ( U×V ), R G ( U×V ), R B ( U×V ) to obtain the encrypted image E RGB ( U×V ); Encrypted image E RGB ( U×V ) can be transmitted to the decryption part for decryption; Decryption process steps: B1. Encrypt the image E RGB ( U×V ) is transferred to the decryption part and the decryption key is entered [ x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b ´ , B 1 ´ , B 2 ´ , r´ ], the decryption key x 1 ´ (0), x 2 ´ (0), x 3 ´ (0), b´ Enter the Lorenz system, the iterative generation length is U×V Chaotic sequence X 1 ; B2. Set the number of decompositions m =4, let S = X 1 , in the joint decryption key r´ , through the sequence random decomposition algorithm S Decompose and obtain 8 random decomposition sequences M i , N i , i =1,2,3,4; B3.Select i Random decomposition sequence when ≥2 M i , N i , i =2,3,4, through M i = floor ( M i × 2 32 ), N i = floor ( N i × 2 32 ) performs rounding processing to convert the floating point random decomposition sequence into an integer random decomposition sequence; B4. Decompose the random sequence after rounding N i , i =2,3,4 modulo 256, combined decryption key B 1 ´ , B 2 ´ , respectively used for encrypting images E RGB ( U×V ) E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion processing and reverse forward diffusion processing; first E R ( U×V ), E G ( U×V ), E B ( U×V ) to perform reverse back diffusion processing to obtain three reverse back diffusion layers NRK R ( U×V ), NRK G ( U×V ), NRK B ( U×V ), and then the three reverse back diffusion layers are subjected to reverse forward diffusion processing to obtain three reverse forward diffusion layers NFK R ( U×V ), NFK G ( U×V ), NFK B ( U×V ); B5. Decompose the random sequence after rounding M i , i =2,3,4 pairs U×V Take the modulus and use it for the three reverse forward diffusion layers to perform reverse scrambling processing, and get three reverse scrambling layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ); B6. Inverse scramble the three layers NZ R ( U×V ), NZ G ( U×V ), NZ B ( U×V ) to obtain the decrypted image D RGB ( U ×V ).

2. An image encryption communication system based on sequence random decomposition, It is characterized in that The sequence random decomposition algorithm comprises the following steps: S1. Identify the sequence to be decomposed S , the length is L , set the number of decompositions to m , for the sequence S Normalize the sequence S Normalized to the interval [-1,1], the corresponding normalization formula is shown in formula (1); ; In formula (1), the sequence S 1 For sequence S The sequence obtained after normalization; S min For sequence S The smallest subelement in S max For sequence S The largest child element in; S2. Sequence S i The first element S i (1) Perform sine operation and take absolute value processing, and obtain |sin( S i (1))|as initial value α i (1), set the control parameters to r , through the Logistic chaotic map iteration L -1 time obtained L Chaos decomposition coefficient α i , the corresponding processing process is shown in formula (2); ; In formula (2), it is necessary to satisfy α i ∈(0,1), when | S i (1)|=0, let S i (1)=0.1; S3. Use formula (3) to perform random mapping, and use the chaotic decomposition coefficient α i and sequence S i The sine and cosine operations of corresponding elements obtain the sequence in the random decomposition sequence M i ; ; S4. Decompose the sequence by formula (4) S i with sequence M i Subtract to obtain the sequence in the random decomposition sequence N i , and the resulting sequence N i As a new sequence to be decomposed S i+1 ; Repeat S2 to S4, loop m times, you can get 2 m Random decomposition sequence M i , N i , i =1,2,…, m ; ; From formula (4), we can get: S i = M i + N i , N i+1 = N i - M i+1 , S 1 =( M 1 + M 2 +…+ M m )+ N m , through the resulting random decomposition sequence M i , i =1,2,…, m and N m Able to composite normalized sequences S 1 ; then S 1 Denormalization can restore the original sequence S , the denormalization process corresponding to formula (1) is shown in formula (5); 。