Image information hiding method based on low-dimensional sine chaotic system

Through the image information hiding method of the low-dimensional sine chaotic system, the key is constructed using a composite of sine functions and logistic chaos mapping, which solves the problems of small key space and periodic window in traditional technology, and improves the randomness and security of information hiding. , achieving efficient information transmission security.

CN118631947APending Publication Date: 2024-09-10XIAMEN UNIV TAN KAH KEE COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410830830.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional one-dimensional logistic chaos mapping has a small key space and periodic windows in image information hiding, which leads to reduced randomness and security of information hiding.

Method used

A low-dimensional sine chaotic system is used to construct the key through the combination of sine function and logistic chaos map, and use chaotic sequences for information hiding and encryption, increasing the key space and eliminating periodic windows.

Benefits of technology

It improves the randomness and security of information hiding, increases the key space, has strong attack resistance, and retains the efficient computing characteristics of low-dimensional systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631947A
    Figure CN118631947A
Patent Text Reader

Abstract

The invention provides an image information hiding method based on a low-dimensional sine chaotic system, which comprises the following steps of: reading information T to be hidden, and importing a common plaintext image # imgabs0 # for hiding the information; calling an MD5 function to act on the information T to obtain a bit stream B0; dividing the B0 into two bit streams B1 and B2; scrambling the defined lists S01, L01 and L02 by taking B1 as a random seed to obtain sequences S1, L1 and L2; constructing a low-dimensional sine chaotic system key and generating a chaotic sequence S2; converting the information T into a bit stream and hiding the bit stream in a plaintext image # imgabs1 # to obtain an image C1 after the information is hidden; and performing row and column scrambling on the C1 by using the random sequences L1 and L2 to obtain a ciphertext image C2, and encrypting the ciphertext image C2 through the chaos sequence S2. According to the method, the sine chaotic system formed by compounding the sine function and the logistic chaotic mapping is used, so that the problem that the information hiding randomness and safety are reduced due to the fact that the traditional low-dimensional logistic chaotic mapping is small in key space and has a periodic window is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the fields of information security and image steganography, and in particular to an image information hiding method based on a low-dimensional sinusoidal chaos system. Background Art

[0002] Image information hiding is a technique that embeds secret information into an image, making the image visually the same as the original image but containing additional information. This technique is widely used in the fields of digital copyright protection, data integrity verification, secure communication, and privacy protection. Image information hiding techniques based on traditional one-dimensional logistic chaotic mapping still have the following defects: the key space is relatively small, which reduces the security of the encryption system and makes it easier for attackers to crack encrypted information through methods such as exhaustive search; there is a periodic window, within which the chaotic map will exhibit a fixed periodic behavior, and its output sequence will repeat according to a fixed period length. This periodicity reduces the randomness and unpredictability of the chaotic map, thereby weakening its security in encryption and information hiding applications.

[0003] Based on this, the present invention proposes an image information hiding method based on a low-dimensional sinusoidal chaotic system. The hidden information does not affect the visual quality of the image and is difficult to be detected by the human eye and detection algorithms. The sinusoidal chaotic system composed of a sine function and a logistic chaotic map not only has the characteristics of low dimension, fast calculation speed and high efficiency, but also has a large key space and no periodic window compared to the traditional one-dimensional logistic chaotic map, and the information hiding randomness and security are higher. Summary of the invention

[0004] The purpose of the present invention is to propose an image information hiding method based on a low-dimensional sinusoidal chaotic system, using a sinusoidal chaotic system composed of a sine function and a logistic chaotic map to solve the problem that the traditional one-dimensional logistic chaotic map has a small key space and a periodic window, which leads to reduced randomness and security of information hiding.

[0005] To achieve the above object, the technical solution of the present invention is: an image information hiding method based on a low-dimensional sinusoidal chaotic system, comprising the following steps:

[0006] Step 1: Read the information to be hidden T, where the total number of characters in T is K = |T|, and import the plaintext image P used to hide the information M×N , where M×N is the size of the plaintext image matrix, and M×N>8K;

[0007] Step 2: Import Python's hashlib library and call the HASH function MD5 on the information T to obtain the bit stream B0;

[0008] Step 3: Split B0 into two bit streams B1 and B2;

[0009] Step 4: Define the lists S01 = [0, 1, 2, ..., M × N], L01 = [0, 1, 2, ..., M], L02 = [0, 1, 2, ..., N], use B1 as the random seed, scramble the lists S01, L01, L02 to obtain the sequences S1, L1, L2;

[0010] Step 5: Construct a low-dimensional sinusoidal chaotic system key; set the low-dimensional sinusoidal chaotic system x n+1 =μsin(x n (1-x n )π), initial parameter value μ 01 ∈[2,+∞), x 01 ∈(0,1), select 2 groups of continuous bit streams from B2 and convert them into decimal integers, and then construct the initial key μ of the encryption system in combination with the initial parameter value of the system 02 、x 02 ;

[0011] Step 6: Generate chaotic sequence S2; set the initial parameter μ 02 、x 02 Substitute into the low-dimensional sinusoidal chaotic system and obtain a chaotic sequence S2 with a length of M×N;

[0012] Step 7: Information conversion: Convert each character in the information T to be hidden into an 8-bit binary number corresponding to the character using the ASCII value. After conversion, T becomes a bit stream containing 8K bits, denoted as: T1 = b0b1b2....b8K-2b8K-1, and the value of each bit bi (i = 0, 1, ..., 8K-1) is 0 or 1;

[0013] Step 8: Information hiding; replace the plaintext image P with bi (i = 0, 1, ..., 8K-1.) M×N The lowest bit value of the pixel at the position of the (S1[i]) / Nth row and the (S1[i])%Nth column in the image is obtained to obtain the image C1 after information hiding; wherein, / represents the rounding operation, and % represents the remainder operation;

[0014] Step 9: Scramble rows and columns; Use the random sequences L1 and L2 in step 4 to scramble the rows and columns of C1 to obtain the ciphertext image C2;

[0015] Step 10: Image encryption: Image C2 is subjected to a foreign domain operation with the chaotic sequence S2 to obtain a ciphertext image C containing sensitive information, thus completing image information hiding.

[0016] Furthermore, the length of the bit stream B0 in step 2 is 256; the lengths of the two bit streams B1 and B2 in step 3 are both 128, denoted as B1=k0k1k2....k126k127, B2=k128k129k130....k254k255, wherein the value of each bit ki (i=0,1,2,…,255) in the bit streams B1 and B2 is 0 or 1.

[0017] Furthermore, in step 4, the lists S01, L01, and L02 are scrambled by using a scrambling function shuffle in a random library to scramble the lists S01, L01, and L02 respectively.

[0018] Furthermore, in step 5, the lengths of the two groups of continuous bit streams selected are both 8, which are recorded as and

[0019] Furthermore, in step 5, the initial key μ 02 、x 02 The specific construction method is:

[0020]

[0021] Wherein, t1≠t2, t1 and t2 are both positive integers and t1∈[128,247], t2∈[128,247].

[0022] Furthermore, the chaotic sequence S2 in step 6 is obtained by: setting the initial parameter μ 02 、x 02 Substitute into the low-dimensional sinusoidal chaotic system x n+1 =μsin(x n (1-x n )π), generate a chaotic sequence S02 by iterating 500+M*N times, delete the first 500 data of the chaotic sequence S02 to eliminate the initial state cancellation, then take out the first 10 valid digits of each value, and obtain a chaotic sequence S2 with a length of M×N composed of integers between 0-255 through modulo 256 operation.

[0023] Furthermore, the row and column scrambling in step 9 is specifically as follows:

[0024] C2[i,:]=C1[L1[i],:], that is, replace the pixels in the i-th row of C1 with the elements in the L1[i]-th row, i=1,2,…,M

[0025] C2[:,j]=C1[:,L2[j]], that is, replace the pixels in the jth row of C1 with the elements in the L2[j]th row, i=1,2,…,N.

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

[0027] 1. The present invention applies the HASH function to the sensitive information T that needs to be hidden, and uses the HASH value of the sensitive information T to construct the random sequence and the key parameters of the encryption system. Therefore, the information hiding scheme proposed by the present invention has a strong sensitivity to sensitive information, and the HASH values ​​corresponding to different sensitive information are completely different, which can effectively resist attacks from known sensitive information.

[0028] 2. The present invention sets up two security lines for information transmission, which not only completes information hiding, but also uses a chaotic system to encrypt the hidden information, further improving the security of information transmission.

[0029] 3. The present invention uses a low-dimensional sinusoidal chaotic system composed of a sinusoidal function and a traditional one-dimensional logistic chaotic map. Compared with the traditional one-dimensional logistic chaotic map, the sinusoidal chaotic system used not only retains the low dimensionality and fast calculation speed of the low-dimensional chaotic system, but also greatly improves the key space, the system security is higher, and the anti-attack ability is strong. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is the information hiding and encryption flow chart of the present invention;

[0031] Figure 2 It is the information extraction and decryption flow chart of the present invention;

[0032] Figure 3 The present invention is an image of a plaintext image after information hiding and a ciphertext image after encryption. DETAILED DESCRIPTION

[0033] The following is combined with Figure 1-3 , the technical solution of the present invention is specifically described.

[0034] The present invention proposes an image information hiding method based on a low-dimensional sinusoidal chaotic system, comprising the following steps:

[0035] Step 1: Read the information to be hidden T, where the total number of characters in T is K = |T|, and import the plaintext image P used to hide the information M×N , where M×N is the size of the plaintext image matrix, and satisfies M×N>8K.

[0036] Step 2: Import Python's hashlib library and call the HASH function MD5 on the information T to obtain a bit stream B0 with a length of 256.

[0037] Step 3: Split B0 into two 128-bit streams B1=k0k1 k2....k 126 k 127 , and B2 = k 128 k 129 k 130 ....k 254 k 255 , here k i =0 or 1 (i=0,1,2,…,255.).

[0038] Step 4: Define the lists S01 = [0, 1, 2, …, M × N], L01 = [0, 1, 2, …, M], L02 = [0, 1, 2, …, N]. Then use B1 as the random seed and use the scrambling function shuffle in the random library to scramble the lists S01, L01, and L02 respectively, so as to obtain the sequences S1, L1, and L2.

[0039] Step 5: Low-dimensional sinusoidal chaotic system key construction. Set up a low-dimensional sinusoidal chaotic system:

[0040] x n+1 =μsin(x n (1-x n )π)

[0041] The initial parameter value is μ 01 ∈[2,+∞),x 01 ∈(0,1). At the same time, select 2 groups of continuous bit streams of length 8 from B2 And convert it into a decimal integer, and then combine it with the initial parameter value of the system to construct the initial key μ of the encryption system 02 ,x 02 , its construction method is as follows:

[0042]

[0043] Here t1≠t2 are both positive integers and t1,t2∈[128,247].

[0044] Step 6: Chaotic sequence S2 is generated. 02 ,x 02 Substitute into the low-dimensional sinusoidal chaotic system:

[0045] x n+1 =μsin(x n (1-x n )π)

[0046] A chaotic sequence S02 is generated by iterating 500+M*N times, the first 500 data of the chaotic sequence are deleted to eliminate the initial state response, and then the first 10 valid digits of each value are taken out. Through modulo 256 operation, a chaotic sequence S2 with a length of M×N composed of integers between 0-255 is obtained.

[0047] Step 7: Information conversion. Use the ASCII value to convert each character in the information T to be hidden into the 8-bit binary number corresponding to the character. After conversion, T becomes a bit stream containing 8K bits, recorded as: T1 = b0 b1 b2....b 8K- 2b 8K-1 , here b i =0 or 1 (i=0,1,…,8K-1.).

[0048] Step 8: Information hiding. i (i=0,1,…,8K-1.) Replace the image P M×N The lowest bit value of the pixel at the position of (S1[i]) / Nth row and (S1[i])%Nth column in the image is obtained to obtain the image C1 after information hiding. (Note: Here, " / " indicates rounding operation and "%" indicates remainder operation.)

[0049] Step 9: Scramble rows and columns. Use the random sequences L1 and L2 in step 4 to scramble the rows and columns of C1 as follows to obtain the ciphertext image C2:

[0050] C2[i,:]=C1[L1[i],:] (Description: Replace the pixels in the i-th row of C1 with the elements in the L1[i]-th row, i=1,2,…,M)

[0051] C2[:,j]=C1[:,L2[j]] (Note: replace the pixels in the jth row of C1 with the elements in the L2[j]th row, i=1,2,…,N).

[0052] Step 10: Image encryption. Image C2 and chaotic sequence S2 are subjected to heterogeneous operations to obtain the ciphertext image C containing sensitive information.

[0053] At this point, the information hiding algorithm proposed in the present invention is completed. The low-dimensional chaotic system used in the present invention is a one-dimensional sinusoidal chaotic system, which has low dimension, fast operation speed, high encryption operation calculation efficiency, saves computing resources, and is a lightweight encryption system. It can be seen from steps 4, 8 and 9 that we have set up two security lines for the safe transmission of sensitive information. The first line of defense is to achieve information hiding using random sequences and ordinary images, and the second line of defense is to achieve encryption using a chaotic system. If any of these two lines of defense is cracked, the system can still ensure that sensitive information is safely transmitted. Therefore, the information hiding algorithm proposed in the present invention has high security.

[0054] Regarding the decryption and information extraction process, decryption and information extraction are the reverse process of encryption and information hiding. The receiver can complete the decryption and information extraction by simply entering the key. For the specific process, please refer to Figure 2 Finish.

[0055] The above are preferred embodiments of the present invention. Any changes made according to the technical solution of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, belong to the protection scope of the present invention.

Claims

1. Image information hiding method based on low-dimensional sinusoidal chaotic system, It is characterized in that The following steps are involved: Step 1: Read the information to be hidden T, where the total number of characters in T is K = |T|, and import the plaintext image P used to hide the information M×N , where M×N is the size of the plaintext image matrix, and M×N>8K; Step 2: Import Python's hashlib library and call the HASH function MD5 on the information T to obtain the bit stream B0; Step 3: Split B0 into two bit streams B1 and B2; Step 4: Define the lists S01 = [0, 1, 2, ..., M × N], L01 = [0, 1, 2, ..., M], L02 = [0, 1, 2, ..., N], use B1 as the random seed, scramble the lists S01, L01, L02 to obtain the sequences S1, L1, L2; Step 5: Construct a low-dimensional sinusoidal chaotic system key; set the low-dimensional sinusoidal chaotic system x n+1 =μsin(x n (1-x n )π), initial parameter value μ 01 ∈[2,+∞), x 01 ∈(0,1), select 2 groups of continuous bit streams from B2 and convert them into decimal integers, and then construct the initial key μ of the encryption system in combination with the initial parameter value of the system 02 、x 02 ; Step 6: Generate chaotic sequence S2; set the initial parameter μ 02 、x 02 Substitute into the low-dimensional sinusoidal chaotic system and obtain a chaotic sequence S2 with a length of M×N; Step 7: Information conversion; Convert each character in the information T to be hidden into an 8-bit binary number corresponding to the character using the ASCII value. After conversion, T becomes a bit stream containing 8K bits, denoted as: T1 = b0 b1 b2....b8K-2b8K-1, and the value of each bit bi (i = 0, 1, ..., 8K-1) is 0 or 1; Step 8: Information hiding; replace the plaintext image P with bi (i = 0, 1, ..., 8K-1.) M×N The lowest bit value of the pixel at the position of the (S1[i]) / Nth row and the (S1[i])%Nth column in the image is obtained to obtain the image C1 after information hiding; wherein, / represents the rounding operation, and % represents the remainder operation; Step 9: Scramble rows and columns; Use the random sequences L1 and L2 in step 4 to scramble the rows and columns of C1 to obtain the ciphertext image C2; Step 10: Image encryption: Image C2 is subjected to a foreign domain operation with the chaotic sequence S2 to obtain a ciphertext image C containing sensitive information, thus completing image information hiding.

2. According to claim 1, the image information hiding method based on low-dimensional sinusoidal chaotic system, It is characterized in that The length of the bit stream B0 in step 2 is 256; the lengths of the two bit streams B1 and B2 in step 3 are both 128, denoted as B1=k0 k1 k2....k126 k127, B2=k128 k129 k130....k254 k255, wherein the value of each bit ki (i=0,1,2,…,255) in the bit streams B1 and B2 is 0 or 1.

3. The image information hiding method based on low-dimensional sinusoidal chaotic system according to claim 1, It is characterized in that In the step 4, the lists S01, L01, and L02 are scrambled by using the scrambling function shuffle in the random library to scramble the lists S01, L01, and L02 respectively.

4. The image information hiding method based on low-dimensional sinusoidal chaotic system according to claim 2, It is characterized in that In step 5, the lengths of the two selected groups of continuous bit streams are both 8, denoted as and 5. The image information hiding method based on low-dimensional sinusoidal chaotic system according to claim 4, It is characterized in that In step 5, the initial key μ 02 、x 02 The specific construction method is: Where, t 1 ≠t 2 , t 1 ,t 2 are all positive integers and t 1 ∈[128,247], t 2 ∈[128,247].

6. The image information hiding method based on low-dimensional sinusoidal chaotic system according to claim 1, It is characterized in that The chaotic sequence S2 in step 6 is obtained by: setting the initial parameter μ 02 、x 02 Substitute into the low-dimensional sinusoidal chaotic system x n+1 =μsin(x n (1-x n )π), generate a chaotic sequence S02 by iterating 500+M*N times, delete the first 500 data of the chaotic sequence S02 to eliminate the initial state cancellation, then take out the first 10 valid digits of each value, and obtain a chaotic sequence S2 with a length of M×N composed of integers between 0-255 through modulo 256 operation.

7. The image information hiding method based on low-dimensional sinusoidal chaotic system according to claim 1, It is characterized in that The row and column scrambling in step 9 is specifically as follows: C2[i,:]=C1[L1[i],:], that is, replace the pixels in the i-th row of C1 with the elements in the L1[i]-th row, i=1,2,…,M, C2[:,j]=C1[:,L2[j]], that is, replace the pixels in the jth row of C1 with the elements in the L2[j]th row, i=1,2,…,N.