A reversible data hiding method with high embedding rate based on robust Chinese remainder theorem coding

Through the encoding method based on the robust Chinese remainder theorem, the carrier image pixel group is mapped to a polynomial ring and encrypted, and the threshold secret image sharing technology is used to achieve a high embedding rate and lossless recovery of the carrier image, solving the problem of embedding rate in the existing technology. Inconsistent problems achieve an information embedding rate close to 100%.

CN118509535BActive Publication Date: 2024-10-18UNIV OF SCI & TECH OF CHINA +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410911593.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-18
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

The existing reversible data hiding technology has an inconsistent embedding rate when the carrier image changes, and fails to fully utilize the pixel space of the carrier image and cannot achieve a high embedding rate.

Method used

Using an encoding method based on the robust Chinese remainder theorem, each t consecutive pixels in the carrier image is treated as a pixel group and mapped to a polynomial ring for encryption and data embedding. Threshold secret image sharing technology is used to generate n encrypted pixel groups, and Data extraction and image restoration are performed at the receiving end via the robust Chinese remainder theorem.

Benefits of technology

It achieves lossless and robust recovery of secret images and high embedding rate data hiding, ensuring that the restored secret image is the same as the original, and theoretically achieves an information embedding rate close to 100% without the need for additional transmission of the carrier image encryption key.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509535B_ABST
    Figure CN118509535B_ABST
Patent Text Reader

Abstract

The present invention discloses a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding, which relates to the coding technology and information security field, and comprises the following steps: S110, a carrier image provider encrypts a carrier image to form an encrypted image, and sends the encrypted image to a data hider through a secure channel, and the encryption process uses a secret image sharing technology based on the Chinese remainder theorem; S120, after receiving the encrypted image, the data hider embeds the secret data into the encrypted image to generate a marked encrypted image, and sends it to a receiver; S130, after receiving the data hiding key and the marked encrypted image from the data hider, the receiver extracts the secret data and recovers the carrier image based on the robust Chinese remainder theorem. The present invention can restore the secret image losslessly, and can also complete the transmission of hidden data with a high embedding rate in the process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of coding technology and information security, and in particular to a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding. Background Art

[0002] Data hiding technology is a technology that protects data by hiding a secret message in a multimedia object (such as image, audio, video, text). This information can be extracted when needed to protect sensitive information that is easily modified, such as military images and conversations, legal images, medical images, etc. At present, data hiding technologies mainly include encrypted image reversible data hiding technology based on Secret Image Sharing (SIS) and encrypted image reversible data hiding technology (Reversible Data Hiding in Encrypted Image, RDH-EI).

[0003] The following introduces the reversible data hiding technology of encrypted images based on secret image sharing. The roles included in the general secret image sharing model are: secret image owner, participant and secret image reconstructor. The functions of each role are as follows: the secret image owner is responsible for dividing a secret image into n shadow images, the participant is responsible for receiving and saving a shadow image generated by the secret image owner; the secret image reconstructor is responsible for reconstructing the secret image when necessary.

[0004] A safe and effective Threshold secret image sharing schemes usually have the following basic features: 1) Each shadow image generated by the secret image owner is a random image, whose content is invisible and does not leak any information about the secret image. 2) If the secret image reconstructor collects less than k shadow images, he cannot reconstruct the secret image, and no information about the secret image will be leaked. 3) The secret image reconstructor can reconstruct the secret image by collecting no less than k shadow images, where .

[0005] The classic reversible data hiding technology in encrypted images (RDH-EI) consists of three parts: (1) carrier image encryption; (2) data embedding; (3) data extraction and carrier image recovery. In the image encryption stage, the carrier image provider encrypts the carrier image to generate an encrypted image (EncryptedImage, EI), and then sends the encrypted image to the authenticated data hider (Datahider) through a secure channel. In the data embedding stage, the i-th data hider Datahider-i first uses the data hiding key The secret data to be hidden is encrypted, and then the encrypted secret data is embedded into the encrypted image to generate a Marked Encrypted Image (MEI). The encrypted image is sent to the receiver. During the data extraction and carrier image recovery phase, the receiver reconstructs the encrypted image and uses Decrypts embedded encrypted secret data.

[0006] Most reversible data hiding methods are based on VRAE (empty space after encryption) or VRBE (empty space before encryption), and both require the corresponding space to be freed up before embedding data. Since the space freed up by different images is different, the embedding rates of these methods are not constant and are greatly affected by the carrier image. The most advanced reversible data hiding technology can achieve a data embedding rate of up to 4 bits per pixel. This method is based on RDHEI-RCRT (Robust Chinese Remainder Theorem) technology, and its embedding rate is constant and will not change due to changes in the carrier image.

[0007] The Chinese Remainder Theorem (CRT) algorithm can be used on Euclidean rings (such as the commonly used integer ring Z and the polynomial ring with coefficients as elements on the field) F p [x] ) to solve a given congruence system. RCRT (Robust Chinese Remainder Theorem) allows the approximate solution of the congruence system to be solved when there are errors in the remainders of each congruence equation. In particular, under small error conditions, if the error of the remainder in any of the congruence equations is known, RCRT (Robust Chinese Remainder Theorem) can accurately solve the congruence system.

[0008] However, the current secret image sharing using RCRT (Robust Chinese Remainder Theorem) technology only uses a single pixel for data embedding, does not fully utilize the carrier image pixel space, and cannot achieve a high data embedding rate. Summary of the invention

[0009] To this end, the present invention provides a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding, in an effort to solve or at least alleviate the above problems.

[0010] According to a first aspect of the present invention, there is provided a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding, comprising the following steps: S110, a carrier image provider encrypts a carrier image to form an encrypted image, and sends the encrypted image to a data hider through a secure channel, wherein the encryption process uses a secret image sharing technique based on the Chinese remainder theorem; S120, after receiving the encrypted image, the data hider encrypts the secret data with a data hiding key and embeds the encrypted image into the encrypted image to generate a marked encrypted image, and sends the image to a receiver; S130, after receiving the data hiding key and the marked encrypted image from the data hider, the receiver extracts the secret data and recovers the carrier image.

[0011] Furthermore, before encrypting the carrier image, every t consecutive pixels in the carrier image are taken as a pixel group, and the values ​​of the pixel group are mapped to the polynomial ring to complete the process from [0, -1] to polynomials on a polynomial ring, so that the process of encrypting the carrier image is carried out on the polynomial ring.

[0012] Furthermore, the encrypting of the carrier image includes: public parameter setting, image encryption; public parameter setting includes: using Threshold Secret Image Sharing, yes The total number of shared shares calculated in the threshold secret image sharing scheme, yes The minimum number of shares required to reconstruct an image in the threshold secret image sharing scheme is is the carrier image, whose size is , is the image height in pixels, is the image width in pixels, the carrier image provider chooses Modulus polynomial ,in m i (x) ∈ F 2 [x] , i ∈ [1, n] , polynomial ring F 2 [x] is the coefficient in the finite field G The ring of polynomials in , is a variable in the modulus polynomial. The selected modulus polynomial satisfies the following two conditions: a) For the encrypted image, the range of all pixel group values ​​is [0, 256 t -1] , the degree of all modulus polynomials is , so that after the pixel group values ​​in the encrypted image are mapped to the polynomial, the number of ] range, that is deg( m i (x)) = 8t,i∈[1, n] , is a function that finds the highest degree of a polynomial; b) In order to satisfy the requirements of the robust Chinese remainder theorem, each modulus polynomial m i (x) ∈ F 2 [x], i∈ [1, n] The construction of is as follows: Gamma i (x) ∈ F 2 [x] , i∈[1, n] , are n mutually prime polynomials that satisfy degree Gamma i x < 8t , g(x) ∈ F 2 [x] is a random polynomial such that satisfy degree m i x = 8t,i∈ [1, n] ; The carrier image provider picks a public polynomial ;

[0013] The image encryption comprises: For carrier image No. pixel groups, each containing pixels, let P t i (x)∈ F 2 [x] for The corresponding polynomial is, , the carrier image provider first selects a secret random polynomial, which is the image encryption key: R i ( x )∈ F 2 [ x ] , and the conditions are met:

[0014] (1)

[0015] Then, the thresholded pixel group polynomial is calculated:

[0016] (2)

[0017] Then secret sharing encryption is used to generate n encrypted pixel groups, each containing pixels, the polynomial corresponding to the n encrypted pixel groups is:

[0018] (3)

[0019] Polynomial Corresponding encrypted pixel group Also known as No. shadow pixel groups, mod is the function of finding the remainder; repeat the above steps until all pixel groups of the carrier image are encrypted and shared, and finally the carrier image provider obtains n encrypted images { }.

[0020] Furthermore, before calculating formula (2), the carrier image Each pixel group corresponds to a polynomial with a random key Encryption, and the random key Shared in advance between the carrier image provider and the recipient.

[0021] Furthermore, in the step S120, after receiving the encrypted image, the data hider embeds the secret data into the encrypted image, including: data encryption: before embedding the secret data, encrypting the secret data using a randomly generated data hiding key to obtain encrypted data; data embedding: embedding the encrypted secret data into a part of the encrypted pixel groups in the entire encrypted pixel groups.

[0022] Further, in S130, after receiving the data hiding keys and the marked encrypted images from multiple data hiders, the receiver extracts the secret data and recovers the carrier image based on the Chinese robust remainder theorem, including: the receiver directly extracts the low-level information of the pixel group with the secret data in the marked encrypted image; Bit, is the length of the encrypted data, the encrypted data is obtained, and then the data hiding key of the corresponding data hider is used to decrypt the encrypted data to obtain the final secret data;

[0023] make Indicates any A marked encrypted image that has not been maliciously tampered with. Indicates the corresponding The labels of the data hiders, and the corresponding modulus polynomial is , The carrier image Pixel Group Any The image restorer uses one of the shadow pixel groups without data embedding as a reference and uses the robust Chinese remainder theorem to calculate the jth pixel group of the carrier image. :

[0024] (6)

[0025] (7)

[0026] Among them, RCRT is a function used to solve the congruence equations with errors.

[0027] Beneficial effects:

[0028] According to the technical solution of the present invention, the lossless and robust recovery of the secret image is achieved, and the transmission of hidden data can be completed at a high embedding rate during the process: on the one hand, it is ensured that the recovered secret image is exactly the same as the original secret image; that is, as long as the number of available shadow images reaches the threshold value, the secret image can be losslessly restored. On the other hand, based on the robust Chinese remainder theorem, the information embedding rate can be theoretically close to 100% (information embedding rate = number of embedded bits / number of carrier bits). The carrier image encryption and lossless reconstruction process is realized based on the secret sharing mechanism, without the need to additionally transmit the carrier image encryption key. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Picture 1 A schematic flow chart of a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to an embodiment of the present invention is shown;

[0030] Picture 2 A schematic process diagram of a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to an embodiment of the present invention is shown;

[0031] Picture 3 A schematic diagram showing a secret information embedding method for threshold secret image sharing according to an embodiment of the present invention;

[0032] Picture 4 A schematic diagram showing a shadow pixel group calculated during an encryption process according to an example of the present invention. DETAILED DESCRIPTION

[0033] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms, and the present disclosure should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0034] Picture 1 A schematic flow chart of a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to an embodiment of the present invention is shown. Picture 2 A schematic process diagram of a high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to an embodiment of the present invention is shown. Picture 1 and Picture 2 The reversible data hiding method according to the embodiment of the present invention is described. Picture 1 As shown, the method comprises the following steps:

[0035] S110, the carrier image provider encrypts the carrier image to form an encrypted image, and sends the encrypted image to the data hider through a secure channel. The encryption process uses the secret image sharing technology based on the Chinese remainder theorem. The main purpose of carrier image encryption is to prevent the data hider from obtaining the specific content of the carrier image (assuming that the data hiders do not collude with each other and do not disclose the encrypted images they receive). Indicates the carrier image provided by the carrier image provider. Before encrypting the image, Each continuous Pixels are regarded as a pixel group, and the values ​​of the pixel group are mapped to the polynomial ring. F 2 [x] On, complete from [0, -1] Integer in the range arrive F 2 [x] Upper polynomial The conversion of The number of . deg is the function of finding the highest degree of the polynomial. The entire image encryption process is divided into two parts: public parameter setting and image encryption. All operations are performed in F 2 [x] Among them, the polynomial ring F 2 [x] is the coefficient in the finite field G The ring formed by the polynomials in (there are only two elements, 0 and 1) can be understood as a polynomial, but the coefficients of the polynomial are only 0 and 1. Public parameters refer to the parameters that are disclosed during the solution processing.

[0036] The following describes the common parameter settings:

[0037] use Threshold Secret Image Sharing (SIS), yes The total number of shares calculated in the threshold secret image sharing scheme, yes The minimum number of shares required to reconstruct an image in the threshold secret image sharing scheme is is the carrier image, whose size is , is the image height in pixels, is the image width in pixels. The carrier image provider selects Modulus polynomial ,in m i (x) ∈ F 2 [x] , i ∈ [1, n] , is a variable in the modulus polynomial. The selected modulus polynomial must also meet the following two conditions: a) For the encrypted image, the range of all pixel group values ​​is [0, 256 t -1] . Therefore, the degree of all modulus polynomials is , so that after the pixel group values ​​in the encrypted image are mapped to the polynomial, the number of ] range. deg( m i (x)) = 8t,i∈[1, n] b) In order to meet the requirements of RCRT, each modulus polynomial m i (x) ∈ F 2 [x], i∈ [1, n] The construction of is as follows: Gamma i (x) ∈ F 2 [x] , i∈[1, n] are n mutually prime polynomials that satisfy degree Gamma i x < 8t , g(x) ∈ F 2 [x] is a random polynomial such that satisfy degree m i x = 8t,i∈ [1, n] In addition, the carrier image provider needs to select a public polynomial .

[0038] Image encryption is described below:

[0039] Below through -Secret image sharing to achieve the carrier image First, let For carrier image No. pixel groups, each containing pixels. P t i (x)∈ F 2 [x] for The corresponding polynomial is obviously The carrier image provider first needs to choose a secret random polynomial (image encryption key) R i ( x )∈ F 2 [ x ] , and the conditions are met:

[0040] (1)

[0041] Then, the thresholded pixel group polynomial is calculated:

[0042] (2)

[0043] Then secret sharing encryption is used to generate n encrypted pixel groups, each containing pixels, the polynomial corresponding to the encrypted pixel group is:

[0044] (3)

[0045] Where mod is the function to find the remainder. Corresponding encrypted pixel group Also known as No. shadow pixel groups.

[0046] Repeat the above steps until all pixel groups of the carrier image are encrypted and shared. Finally, the carrier image provider can obtain n encrypted images { }.

[0047] After the carrier image is encrypted, the carrier image provider needs to send each encrypted image It is sent to the corresponding data hider through a secure channel for data hiding.

[0048] Note: To ensure that the encrypted pixel group corresponds to the polynomial The randomness and security of the carrier image can also be For each pixel group, for example, the polynomial corresponding to the first pixel group Use random key Encryption. The prerequisite is that the carrier image provider and the receiver need to share a random key in advance. .

[0049] S120, after receiving the encrypted image, the data hider encrypts the secret data using the data hiding key and embeds it into the encrypted image to generate a marked encrypted image and sends it to the receiver. The specific steps are as follows: (1) Data encryption: Before embedding the secret data, the secret data needs to be encrypted using the randomly generated data hiding key. (2) Data embedding: The encrypted secret data is embedded into a portion of the encrypted pixel groups in the entire encrypted pixel group.

[0050] The following first describes the data encryption process. represents the secret data to be embedded, It is a random key with the same length as the secret data. The encrypted data can be obtained by ⊕ (XOR) operation ,as follows:

[0051] (4)

[0052] in, represents the i-th secret data to be embedded by the data hider, is the i-th data hiding key of the data hider, is the i-th encrypted data of the data hider (need to be embedded in the encrypted image), and ⊕ represents the XOR operation. The following describes the data embedding process:

[0053] Assume that each encrypted data Length is bits. For ( ) threshold secret image sharing requires setting the encrypted pixel group that can embed data. The i-th data hider will encrypt the image All pixel groups in the array are sorted from left to right and from top to bottom to form an encrypted pixel group sequence. , (like Picture 3 According to the characteristics of the Robust Chinese Remainder Theorem (RCRT), when restoring an image, in order to ensure lossless restoration of the carrier image, when restoring any pixel group, such as the carrier image The jth pixel group When the encrypted pixel group Select no less than Among the encrypted pixel groups, there should be at least one pixel group without embedded secret data. , in satisfying Data is not embedded in the position, but embedded in the remaining positions. middle Indicates the line number, corresponding to the encrypted image The number of Indicates the column number, corresponding to the pixel group number, yes The total number of shares calculated in the threshold secret image sharing scheme, yes The minimum number of shares required to reconstruct an image in a threshold secret image sharing scheme.

[0054] make represents the maximum number of bits of secret data that can be embedded in a pixel group, then ,in( ) is the greatest common factor of all modulus polynomials in the selected modulus polynomial group and can be selected according to the specific plan.

[0055] The i-th data hider embeds the secret data using the least significant bit (LSB) substitution method, i.e., encrypts the data with Directly encrypt the image Each shadow pixel group in which data can be embedded The minimum The replaced shadow pixel groups are recorded as , where j=1,2,…. The length is consistent with the encrypted data.

[0056] The i-th data hider will encrypt the data Embed into the encrypted image according to the above process In the example above, we generate a labeled encrypted image (by each pixel group Then the corresponding data is hidden with the key and mark the encrypted image Securely sent to authenticated recipients. The encrypted image is recorded as:

[0057] .

[0058] S130, after receiving the data hiding key and the marked encrypted image from the data hider, the receiver extracts the secret data and recovers the carrier image based on the Chinese robust remainder theorem.

[0059] The receiver can directly extract the low-level information of the pixel groups with secret data in the marked encrypted image. Bit, get the encrypted data , and then use the corresponding data hider's data hiding key to decrypt and obtain the final secret data The decryption process is as follows:

[0060] (5)

[0061] Then the image is restored. The image restoration and data extraction processes are independent of each other. During the data extraction process, all pixel values ​​in the marked encrypted image will not change, and the receiver can directly restore the carrier image through the marked encrypted image.

[0062] According to the properties of the Robust Chinese Remainder Theorem (RCRT), if there is at least one remainder polynomial without error, the original polynomial can be accurately reconstructed. According to the secret data embedding rule, in the process of restoring the pixel group Any not less than In the shadow image array, there is at least The shadow pixel groups have no secret data embedded in them and their positions are known.

[0063] Therefore, the robust Chinese remainder theorem (RCRT) can be used to restore the carrier image losslessly. In the image restoration stage, since the carrier image is Threshold secret sharing is used for encryption, so the receiver only needs to select The carrier image can be reconstructed using a signed encrypted image that has not been tampered with.

[0064] make Indicates any A marked encrypted image that has not been maliciously tampered with. Indicates the corresponding The labels of the data hiders, and the corresponding modulus polynomial is , The carrier image Pixel Group Any In order to restore , the image restorer uses a certain group of shadow pixels without data embedding as a reference and uses the Robust Chinese Remainder Theorem (RCRT) to accurately calculate the carrier image No. Pixel Group :

[0065] (6)

[0066] (7)

[0067] in, It is a public polynomial chosen by the program implementer, and RCRT is a function used to find a system of congruence equations with errors.

[0068] So that the carrier image No. The polynomial corresponding to the pixel group Solving for pixel groups By solving all The original carrier image can be accurately restored.

[0069] The following is an analysis of the information embedding rate achieved by the above implementation methods. In information hiding research, the information embedding rate is defined as the ratio of the number of embedded bits in a pixel group to the number of bits in a carrier pixel group. That is:

[0070] Embedding rate = total number of embedded bits / total number of bits in the carrier pixel group.

[0071] Any shadow image on the carrier image In each There are a total of pixel groups embed secret data, each secret data is Bit, Therefore, each The shadow pixel groups can embed data at most Bit. Use (In this implementation, to achieve the maximum theoretical embedding rate, (n, n) secret sharing is used, i.e. k=n) When the threshold secret image sharing mechanism is used, each The shadow pixel groups can embed data at most Bit. The vector shadow pixel group contains pixels, a total of bits, so the information embedding rate is: .

[0072] when As it approaches infinity, Easy to approach Therefore, the limit of information embedding rate is: .

[0073] From the above, we can see that according to the technical solution of the embodiment of the present invention, lossless and robust recovery of the secret image is achieved: on the one hand, it is ensured that the recovered secret image is exactly the same as the original secret image; as long as the number of available shadow images reaches the threshold value, the secret image can be losslessly restored. pixels are merged into one pixel group to enhance the information embedding capability. When the threshold secret image sharing mechanism realizes information embedding, The embedded information per pixel is close to 8 bits, and the information embedding rate approaches the theoretical limit of 1. The carrier image encryption and lossless reconstruction process are realized based on the secret sharing mechanism, without the need to additionally transmit the carrier image encryption key.

[0074] The following takes (9, 9) threshold secret image sharing as an example to describe the technical solution according to an embodiment of the present invention.

[0075] In the carrier image encryption stage, the parameters are set first:

[0076] Select is a public polynomial, let ;

[0077] ;

[0078] where g(x) is the greatest common factor of all modulus polynomials in the selected modulus polynomial group, It is the remainder after removing the greatest common factor of all modulus polynomials in the selected modulus polynomial group.

[0079] Therefore, each modular polynomial is:

[0080] .

[0081] Each pixel group contains 5 pixels. For simplicity, a single pixel group in the carrier image For example, accordingly, correspond F 2 [x] The polynomial on is: .

[0082] Then we enter the image encryption stage. The encryption process is taken as an example to illustrate carrier image encryption.

[0083] By grouping pixels Split into shadow pixel groups to achieve De facto encryption.

[0084] First, the carrier image provider randomly generates a secret random polynomial of no more than 39 degrees according to the conditions in formula (1), such as: .

[0085] According to formula (2), calculate ,get:

[0086] ,

[0087] Then, according to formula (3), Counting pixel groups Shadow Pixel Group . Indicates The pixel group obtained by the data hider The shadow pixel group. First calculate:

[0088] .

[0089] The corresponding shadow pixel group is:

[0090] ,

[0091] .

[0092] Then enter the data hiding stage. After receiving the encrypted image, each data hider embeds the secret data into .because , so if Picture 4 As shown, there are 8 pixel groups in each group (9) of shadow pixel groups that can embed data, and because Therefore, each pixel group that can embed data can embed at most 35 bits of secret data. Assume:

[0093] ,

[0094] ,

[0095] ,

[0096] ,

[0097] ,

[0098] ,

[0099] ,

[0100] ,

[0101] They are the secret data that the 2nd to 9th data hiders need to embed (the 1st data hider does not embed any data), and the corresponding random keys are:

[0102] ,

[0103] ,

[0104] ,

[0105] ,

[0106] ,

[0107] ,

[0108] ,

[0109] .

[0110] The corresponding ciphertext for:

[0111] ,

[0112] ,

[0113] ,

[0114] ,

[0115] ,

[0116] ,

[0117] ,

[0118] .

[0119] Embedding secret data The value after They are:

[0120] ,

[0121] ),

[0122] ,

[0123] ,

[0124] ,

[0125] ,

[0126] ,

[0127] ,

[0128] .

[0129] The corresponding polynomials They are:

[0130] ;

[0131] ;

[0132] ;

[0133] ;

[0134] ;

[0135] ;

[0136] ;

[0137] ;

[0138] .

[0139] Finally, we enter the data extraction and image decryption stage. First, we describe data extraction. The number of , each satisfying of The lower 35 bits of the shadow pixel group (embedded data) are used as the ciphertext The receiver can extract the embedded secret data by calculating :

[0140] .

[0141] In the image decryption stage, Since the above conditions, so No data is embedded. Therefore, As a reference, the receiver r calls the Robust Chinese Remainder Theorem (RCRT) accurate reconstruction method to correctly reconstruct , and then calculate and restore the correct pixel group .

[0142] ;

[0143] .

[0144] The following is an analysis of the information embedding rate of this example. According to embedding rate = total number of embedded bits / total number of bits in the carrier pixel group, we can know that: 8 shadow pixel groups Each embedded data is 35 bits, with a total of embedded data bits, total carrier pixel group There are 9 in total , Therefore, embedding rate = total number of embedded bits / total number of bits in carrier pixel group = 280 / 360 = 77.78%.

[0145] The number of bits embedded per pixel = embedding rate × 8 bits = 6.2 bits, which exceeds the number of bits in existing solutions. As the number of pixels in each pixel group increases and the greatest common factor of each modulus polynomial increases, frequency With the increase of , the above embedding rate and the number of embedded bits per pixel will further increase. In theory, the embedding rate is infinitely close to 100%.

[0146] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0147] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is primarily selected for readability and instructional purposes, rather than for the purpose of explaining or limiting the subject matter of the present invention.

Claims

1. A high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding, characterized in that: The following steps are involved: S110, the carrier image provider encrypts the carrier image to form an encrypted image, and sends the encrypted image to the data hider through a secure channel. The encryption process uses a secret image sharing technology based on the Chinese remainder theorem. S120, after receiving the encrypted image, the data hider encrypts the secret data with the data hiding key and embeds it into the encrypted image to generate a marked encrypted image, and sends it to the receiver; S130, after receiving the data hiding key and the marked encrypted image from the data hider, the receiver extracts the secret data and recovers the carrier image based on the robust Chinese remainder theorem; Before encrypting the carrier image, every t consecutive pixels in the carrier image are taken as a pixel group, and the values ​​of the pixel group are mapped to the polynomial ring to complete the process from [0, -1] range to polynomials on the polynomial ring, so that the encryption process of the carrier image is carried out on the polynomial ring; The encrypting of the carrier image comprises: public parameter setting, image encryption; Common parameter settings include: Threshold Secret Image Sharing, yes The total number of shares calculated in the threshold secret image sharing scheme, yes The minimum number of shares required to reconstruct an image in the threshold secret image sharing scheme is is the carrier image, whose size is , is the image height in pixels, is the image width in pixels, the carrier image provider chooses Modulus polynomial ,in , polynomial ring is the coefficient in the finite field G The polynomials in , is a variable in the modulus polynomial. The selected modulus polynomial satisfies the following two conditions: a) For the encrypted image, the range of all pixel group values ​​is , the degree of all modulus polynomials is , so that after the pixel group values ​​in the encrypted image are mapped to the polynomial, the number of ] range, that is , is a function that finds the highest degree of a polynomial; b) In order to satisfy the requirements of the robust Chinese remainder theorem, each modulus polynomial The construction of is as follows: ,yes polynomials that are mutually prime and satisfy is a random polynomial such that satisfy ; The carrier image provider picks a public polynomial ; The image encryption comprises: make For carrier image No. pixel groups, each containing pixels, let for The corresponding polynomial is, , the carrier image provider first selects a secret random polynomial, which is the image encryption key: , and the conditions are met: (1) Then, the thresholded pixel group polynomial is calculated : (2) Then secret sharing encryption is used to generate n encrypted pixel groups, each containing pixels, the polynomial corresponding to the n encrypted pixel groups is: (3) Polynomial Corresponding encrypted pixel group Also known as No. shadow pixel groups, mod is the function of finding the remainder; repeat the above steps until all pixel groups of the carrier image are encrypted and shared, and finally the carrier image provider obtains n encrypted images { }.

2. The high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to claim 1 is characterized in that: Before calculating formula (2), the carrier image The polynomial corresponding to each pixel group uses a random key Encryption, and the random key Shared in advance between the carrier image provider and the recipient.

3. The high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to claim 1 is characterized in that: In step S120, after receiving the encrypted image, the data hider encrypts the secret data with the data hiding key and then embeds it into the encrypted image, including: Data encryption: Before embedding secret data, the secret data is encrypted using a randomly generated data hiding key to obtain encrypted data; Data embedding: embedding the encrypted secret data into a portion of the encrypted pixel groups in the entire encrypted pixel groups.

4. The high embedding rate reversible data hiding method based on robust Chinese remainder theorem coding according to claim 3 is characterized in that: In S130, after receiving the data hiding keys and the marked encrypted images from the multiple data hiders, the receiver extracts the secret data and restores the carrier image, including: The receiver directly extracts the low-level information of the pixel groups with secret data in the encrypted image. Bit, is the length of the encrypted data, the encrypted data is obtained, and then the data hiding key of the corresponding data hider is used to decrypt the encrypted data to obtain the final secret data; make Indicates any A marked encrypted image that has not been maliciously tampered with. Indicates the corresponding The labels of the data hiders, and the corresponding modulus polynomial is , The carrier image Pixel Group Any The image restorer uses one of the shadow pixel groups without data embedding as a reference and uses the robust Chinese remainder theorem to calculate the jth pixel group of the carrier image. : (6); (7) Among them, RCRT is a function used to solve the congruence equations with errors.

Citation Information

Patent Citations

  • Reversible information hiding method and system based on polynomial Chinese remainder theorem security enhancement

    CN118233573A