Robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem

Through the secret reconstruction and information hiding method based on the robust Chinese remainder theorem, the problem of low embedding rate and difficulty in accurate reconstruction under small error conditions in the existing technology is solved. Lossless recovery and information hiding of secret images are achieved, and the information embedding rate is close to the theory. limit, enhancing information embedding capabilities and security.

CN118488147BActive Publication Date: 2024-09-24HEFEI NATIONAL LABORATORY +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing secret sharing technology based on the Chinese Remainder Theorem has a low embedding rate in information hiding and cannot effectively utilize the bits in the pixels. Moreover, traditional error correction coding is difficult to achieve accurate reconstruction under small error conditions.

Method used

A secret reconstruction and information hiding method based on the robust Chinese remainder theorem is used to generate share information by mapping secrets to polynomials, and utilize the robust Chinese remainder theorem in the data embedding and extraction processes to achieve lossless recovery of secrets and efficient hiding of information. Combined with the (k, n) threshold secret sharing mechanism, the information embedding capability is enhanced.

Benefits of technology

Lossless and robust recovery of secret images and efficient hiding of information are achieved. The information embedding rate approaches the theoretical limit of 1. There is no need to transmit additional encryption keys, which enhances information embedding capabilities and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118488147B
    Figure CN118488147B
Patent Text Reader

Abstract

The present invention discloses a robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem, which relates to the field of coding technology and information security, including: the secret distributor maps the secret to a polynomial, completes the generation of share information encoded based on the robust Chinese remainder theorem, and then sends the share information to the data embedder; the data embedder completes the embedding of the share information encoded based on the robust Chinese remainder theorem to generate a marked share, and sends the marked share to the secret receiver; after receiving the marked share, the secret receiver uses the robust Chinese remainder theorem to achieve secret reconstruction. The present invention can achieve accurate reconstruction of secrets, breaking the limitation that the error correction capability of traditional error correction codes is less than #imgabs0#, and achieves high-efficiency information hiding in the process, and the theoretical limit information embedding rate can reach 100%; in addition, it also realizes the extraction of embedded data, achieving the purpose of transmitting data.
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 robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem. Background Art

[0002] Based on the Robust Chinese Remainder Theorem (RCRT) coding and (k, n) threshold secret sharing technology, secure and robust recovery of secrets and efficient hiding of information can be achieved between secret distributors and receivers. The following first introduces the RCRT algorithm and (k, n) threshold secret sharing technology, and then introduces the existing practices and defects of using this technology for secret sharing.

[0003] 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) ) to solve a given system of congruence equations. RCRT allows approximate solutions to be found for the system of congruence equations when there are errors in the remainders of the congruence equations. In particular, under small error conditions, if the error in the remainder of any of the congruence equations is known, RCRT can accurately solve the system of congruence equations.

[0004] (k,n)-Threshold Secret Sharing ((t,n)-Secret Sharing) is a basic tool in cryptography, which aims to achieve secure distribution / preservation and robust recovery of secrets. It includes two processes: secret distribution and secret reconstruction. Specifically, 1) Secret distribution: it divides a secret S into n sub-secrets (usually called shares or shadows of S); 2) Secret reconstruction: Secret S can only be correctly recovered when at least k shares are known, and when less than k shares are known, no information about secret S can be obtained. There are many implementation schemes for (k,n)-Threshold Secret Sharing, typical of which are Shamir's scheme based on Lagrange interpolation polynomials and the implementation scheme based on the Chinese Remainder Theorem.

[0005] In the (k,n)-threshold secret sharing scheme, the dealer (the dealer-D) divides a secret S into n shares. When no less than k secret shares are sent to the receiver (Receiver-R), the receiver R can recover the original secret S. This process can be used to transfer the secret S between the dealer D and the receiver R in a secure and robust way. This process can be implemented by the CRT-based (t,n)-threshold secret sharing method.

[0006] At the same time, under the condition of unknown small errors, RCRT can recover the approximate value of the above secret S. That is, under the condition that each of the above shares contains unknown small errors, RCRT can still recover the approximate value of the secret S. And if the error contained in a certain share is known, RCRT can accurately recover the secret S. Therefore, when a share contains a known error, the above (t,n)-threshold secret sharing can be achieved based on RCRT. In addition, it can also be applied to information hiding applications, that is, multiple shares sent by the secret distributor D to the receiver R are used as carriers for information hiding, and secret data is embedded in each sent share in the form of small errors. In short, with the help of RCRT technology, the receiver can accurately recover the original secret S on the one hand, and on the other hand, it can use each share as a carrier to transmit additional secret data.

[0007] At present, the main methods for performing secure and robust recovery of secrets and efficient hiding of information based on the above technologies include using single pixels in the carrier image to embed hidden information, operating each pixel independently to embed hidden information, and encrypting and reconstructing the carrier image. The disadvantage of these methods is that the embedding rate is low and a considerable number of bits in each pixel cannot be used. Summary of the invention

[0008] In order to solve the above technical problems, the present invention proposes a robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem, the method comprising:

[0009] S210, the secret distributor maps the secret to a polynomial, then completes the generation of share information encoded based on the robust Chinese remainder theorem, and then sends the share information to the data embedder;

[0010] S220, the data embedder completes data embedding based on the robust Chinese remainder theorem on the share information to generate a marked share, and sends the marked share to the secret receiver;

[0011] S230, after receiving the marked share, the secret receiver uses the robust Chinese remainder theorem to reconstruct the secret and extract the embedded data.

[0012] According to the technical solution of the present invention, the following beneficial effects are brought about:

[0013] 1) Realize lossless and robust recovery of secret images: On the one hand, the positional relationship between pixels is used to form a pixel group, and information is embedded in the shares of the pixel group, as well as the encryption and reconstruction of the carrier image, thereby realizing the transmission of hidden information and lossless recovery of the carrier image; on the other hand, as long as the number of available shadow images reaches a threshold value, the secret image can be losslessly restored.

[0014] 2) Merge t pixels into one pixel group to enhance the information embedding capability. When the threshold secret image sharing mechanism realizes information embedding, As the pixel size increases, the information that can be embedded in each pixel approaches 8 bits, and the information embedding rate approaches the theoretical limit of 1.

[0015] 3) 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

[0016] Figure 1 A diagram showing the overall secret sharing and information hiding framework according to the technical solution of the present invention is shown;

[0017] Figure 2 A flowchart of a robust secret reconstruction and information hiding method based on RCRT according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

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

[0019] The secret referred to in this specification can be any form of data. As one of the common applications, it can be used for secret image sharing and image information hiding. For example, an image is composed of many pixels, which are adjacent to each other. Pixel groups Can be expressed as a Binary number of bits . Reference below Figure 1 , with the Binary value of the bit As secrets, we describe secure and robust secret reconstruction as well as efficient information hiding procedures.

[0020] The technical solution of the present invention is based on (k,n) threshold secret sharing and RCRT construction. The solution includes the following entities: a secret distributor (the Dealer), multiple data embedders , (Data Hiders) and a data receiver (the Receiver) Secret Distributor Responsible for keeping secrets Divided into n shares: According to the data embedding rules, if data embedders are allowed Embed data, then the data embedder First, embed the data Embedded Share , generate the marked share (marked share); if data embedding is not allowed Embed data, then the data embedder Not the right share Make any changes. Then, the data embedder Mark the share Send to data recipient Upon receipt of at least shares and marked shares, such as After (i.e. Not correct Embedded data), Data recipient On the one hand, based on RCRT coding, at least shares and the marked share to reconstruct the secret , on the other hand, extracting embedded data from each received label share ( ).

[0021] In one embodiment, the secret distributor Can also act as individual data embedders at the same time Role: Secret distributor Not only is it responsible for keeping secrets Divide into Share , and is responsible for embedding the data Embed into corresponding shares according to embedding rules Marking share . In the end, there will be no less than Shares and marked shares are sent to the recipient .

[0022] Reference below Figure 2 The process of the robust secret reconstruction and information hiding method based on RCRT according to the embodiment of the present invention is described in detail. Figure 2 As shown, the method includes:

[0023] S210, the secret distributor maps the secret to a polynomial, and then completes the generation of the share information encoded based on the robust Chinese remainder theorem, and then sends the share information to the data embedder. The process includes: first mapping the secret to a polynomial: Assume is an adjacent The secret integer corresponding to the pixels after merging, . The secret integer Mapping to a polynomial ring F 2 [x] The secret polynomial on S x ∈ F 2 [x] And the number of .in are variables in the secret polynomial. Polynomial ring F 2 [x] is the coefficient in the finite field G The ring composed of 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. It is a function that finds the highest degree of a polynomial.

[0024] Let the public polynomial ; At the same time is a random polynomial, and Let n polynomials be mutually prime. For data embedders The modular polynomial satisfies .

[0025] To distribute the secret integer , Secret Distributor First secretly choose a random polynomial , calculate the thresholded pixel group polynomial ,in is a polynomial consisting of the original image pixel group values, is the number of random selections that match where k is the minimum number of shares required to recover the complete secret in a (k, n) secret sharing scheme. “Secretly” means randomly selected without disclosure. In one embodiment, ) to ensure that information is not leaked. Then calculate Share Polynomial , each share polynomial Securely sent to data embedder H i , i∈[1,n] , thus completing the distribution of the secret integer S.

[0026] S220, the data embedder completes data embedding based on the robust Chinese remainder theorem on the share information to generate a marked share, and sends the marked share to the secret recipient. The process includes:

[0027] Assumptions Secret Share The corresponding binary representation is, For secret embedders Need to be embedded in binary representation The binary number in is determined by the secret embedder's choice, and the binary number The number of bits contained is equal to .exist Binary number representation , select any Binary number representation Do not embed data, such as Binary representation of Convert the binary number to Embedded binary number representation So as to obtain the mark share .

[0028] ,

[0029] in, Represents a bitwise XOR operation. Note that before performing the XOR operation, the binary number and binary representation Fill the high position with 0 to the 8t position. m s i x ∈ F 2 [x] Indicates the mark share The corresponding polynomial. Each data embedder Mark the share Send securely to a secret recipient .

[0030] S230, after receiving the marked share, the secret receiver uses the robust Chinese remainder theorem to reconstruct the secret and extract the embedded data. In the marked share, according to the description in step S220, at least one share without embedded data may be included, such as The specific process of step S230 is as follows: After receiving a total of no less than k marked shares and shares After that, the following congruence equations are obtained:

[0031] ,

[0032] in, Refers to the ordinal number of the congruence equation. is the thresholded pixel group polynomial The polynomial after embedding the data. To do this, we need to use the share polynomial For reference, the above congruence equation containing embedded information (i.e., error) is solved based on RCRT.

[0033] First, the secret receiver calculate , It is the invariant part that excludes the introduction of errors during secret recovery:

[0034] q i = s i x - s k x g x = (m s i x - s k x )-(m s i x - s k x ) mod g(x) g x ,i∈[1,k-1] .

[0035] Notice , because the small error condition is satisfied: , mod is the function to find the remainder.

[0036] Second, the secret receiver Based on CRT, we can use the following congruence equations to obtain the secret polynomial part that is not affected by the error: :

[0037] c k x = q i Γ k x -1 mod Γ i x , i∈[1,k-1] ,

[0038] in, for The multiplicative inverse of .

[0039] Then correctly restore the pixel group polynomial after threshold processing :

[0040] ,

[0041] Finally, the secret receiver The secret polynomial can be accurately reconstructed :

[0042] ,

[0043] and the secret polynomial Convert to an integer to get the reconstructed secret integer , the process of converting to an integer can be: extracting the coefficients of the polynomial and converting them into binary numbers, and then converting the binary numbers into integers.

[0044] Step S230 may also include a binary number Extraction: To extract the marked share The binary number embedded in , secret receiver Using thresholded pixel group polynomial Can calculate secret integers The share polynomial corresponding to each share of :

[0045] ,

[0046] Then we can get the binary representation of each share polynomial. . Finally, the embedded data can be extracted :

[0047] .

[0048] Note that before performing the XOR operation, the shares are marked and binary representation It is necessary to fill the high position with 0 to the 8t position.

[0049] In addition, binary numbers It can also be passed from each data embedder to the receiver as follows:

[0050] If each data embedder and receiver Shared key in advance , then the data embedder Encrypt the data before embedding it, as follows: 1) Data embedder Encrypted binary number Generate ciphertext :for example ; 2) Data embedder Ciphertext Embedded binary number representation Generate token shares ; 3) Reconstructing the binary representation After that, the receiver From the marked share Extract ciphertext from ; 4) Receiver Decrypting ciphertext Get binary number .

[0051] The above binary number Encryption and decryption methods and ciphertext The embedding method is just one of the possible encryption and decryption and embedding methods. Users can choose the appropriate encryption and decryption and data embedding method within this framework.

[0052] The information embedding rate is analyzed below. The information embedding rate is defined as follows: Information embedding rate = number of embedded information bits / number of carrier information bits. Here, "number of carrier information bits" refers to the number of carrier information bits required to correctly embed and extract information. Binary Numbers (common bits), d = deg(g(x)), for which at least Shares (total bits); therefore, in this case, information embedding rate = number of embedded information bits / number of carrier information bits = .

[0053] In fact, considering the extreme case, the secret distributor You can leave only one share free and use all the others. The embedding length in the share is The secret data, in this case,

[0054] Maximum information embedding rate = Number of bits of embedded data / Number of bits per share = .

[0055] When the secret length ( ) tends to infinity, the number of bits allowed to be embedded in each share Also close to Therefore, the maximum information rate is close to , The larger it is, the closer the maximum information rate is to 1.

[0056] The following are the beneficial effects brought about by the technical solution of the present invention:

[0057] On the one hand, CRT-based ( ) Threshold secret sharing can ensure the secure and robust recovery of secrets between secret distributors and receivers: 1) Robustness: It is known that no less than any The secret can be recovered in the case of shares; 2) Security: less than On the other hand, in the above ( ) In threshold secret sharing, all shares are allowed to contain small errors. And under any known error condition, RCRT coding can not only achieve the above ( ) Threshold secret sharing, and can embed information in each share in the form of small errors, thereby achieving efficient information hiding in the process of data embedders and receivers transferring shares. Its information embedding rate can be close to the theoretical limit of 100%.

[0058] Compared with traditional error correction coding, in RCRT-based coding, after the secret is split into several shares, even if each share contains small errors, as long as the small errors in any share are known, the secret can be accurately reconstructed, regardless of the number of small errors. The limitations of is the Hamming distance of the error correcting code.

[0059] The following is an example to illustrate the above technical solution. Take (5,6) threshold secret image sharing as an example.

[0060] 1) Mapping of secrets to polynomials

[0061] Below is a pixel group containing two pixels The integer value of is a secret, also called the secret integer S, which illustrates the secret sharing process. Assume that the pixel group = , and accordingly, the secret integer correspond F 2 [x] The polynomial on is:

[0062] .

[0063] 2) CRT-based secret distribution

[0064] Select is a public polynomial, let ;

[0065] are 6 mutually prime polynomials.

[0066] Therefore, the 6 modular polynomials are:

[0067] .

[0068] Taking (5, 6) threshold secret sharing as an example, in order to distribute the secret , secret distributor First secretly choose a random polynomial ,calculate:

[0069] .

[0070] Then, calculate the 6 share polynomials have to:

[0071] .

[0072] Finally, each share polynomial Securely sent to data embedder H i , i∈[1,6] , thus completing the secret distribution.

[0073] 3) Share information embedding based on RCRT coding

[0074] Assumptions is the share polynomial The corresponding binary representation is:

[0075] .

[0076] Assumptions For secret embedders Need to be embedded into the share polynomial The binary number in The number of bits contained is equal to :

[0077] .

[0078] In 6 binary representations , select any Binary number representation Do not embed data, such as , data embedders press Binary Numbers Embedded binary number representation , thereby obtaining the mark share .Right now:

[0079] .

[0080] Each data embedder will mark the share or binary representation Send securely to a secret recipient .

[0081] .

[0082] 4) Secret reconstruction and embedded information extraction based on RCRT

[0083] Secret Receiver After receiving not less than 5 binary representations and marking shares, such as After that, use RCRT to achieve secret The exact reconstruction of each binary number The specific process is as follows:

[0084] (1) Secret reconstruction based on RCRT

[0085] Secret Receiver On Receiving After that, we essentially obtain the following system of congruence equations:

[0086] .

[0087] To this end, the secret receiver uses the share polynomial For reference, the above solution based on RCRT contains embedded information ( ). Because each embedded information , so the embedded information meets the small error condition. Under the small error condition, according to the RCRT secret recovery process, the unchanged part of the introduced error is excluded , calculate:

[0088] ;

[0089] ;

[0090] ;

[0091] ;

[0092] and

[0093] ;

[0094] x;

[0095] ;

[0096] .

[0097] Solve the secret polynomial part that is not affected by the error by the following congruence equation system :

[0098] ;

[0099] The result is:

[0100] ;

[0101] Then calculate:

[0102] ;

[0103] Data Recipients Reconstruct the secret polynomial as follows :

[0104] .

[0105] (2) Embedded information extraction

[0106] Data Recipients The thresholded pixel group polynomial Compute the binary representation of each number to obtain:

[0107] .

[0108] Extract the binary number, i.e. the embedded data:

[0109] ,

[0110] ,

[0111] ,

[0112] .

[0113] Apparently the extracted data is exactly the same as the embedded data.

[0114] Embedding rate analysis:

[0115] In this case, the binary representation is As a carrier, embed binary numbers Among them, the actual embedding The amount of data is Bit; Actual use of carrier The amount of data is bits. Therefore, its information rate is: 48 / 80=60%.

[0116] If the binary number is expressed For vectors, except in binary representation The above 12-bit binary numbers are embedded in Forming a Mark Share , while in binary representation A 16-bit binary number is embedded in Forming a Mark Share , not in binary representation embed any data on it. Then also in binary representation For reference, with the help of the marked share The secret integer S can still be reconstructed. But the actual amount of embedded data is bits, the amount of carrier information data is bits. Therefore, the embedding rate is: 64 / 96=66.7%.

[0117] As the degree n of the modular polynomial increases, the greatest common factor of each modular polynomial is allowed to be As the number of times increases, the above embedding rate will further increase. In theory, the embedding rate is infinitely close to 100%.

[0118] 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.

[0119] 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 robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem, It is characterized in that The steps include: S210, the secret distributor maps the secret to a polynomial, then completes the generation of share information encoded based on the robust Chinese remainder theorem, and then sends the share information to the data embedder; S220, the data embedder completes data embedding based on the robust Chinese remainder theorem on the share information to generate a marked share, and sends the marked share to the secret receiver; S230, after receiving the marked share, the secret receiver uses the robust Chinese remainder theorem to reconstruct the secret and extract the embedded data. Step S210 includes: first mapping the secret to a polynomial: is an adjacent The secret integer corresponding to the pixels after merging, ,Will Mapping to a polynomial ring The secret polynomial on And the number of , polynomial ring is the coefficient in the finite field G The ring of polynomials in , where is a function that finds the highest degree of a polynomial. are the variables in the secret polynomial; The generation of share information based on the robust Chinese remainder theorem encoding includes: Let the public polynomial ; At the same time is a random polynomial, and Let n polynomials be mutually prime. is the modular polynomial of the data embedder, satisfying ; The secret distributor first secretly selects a random polynomial , calculate the thresholded pixel group polynomial ,in is a polynomial consisting of the original image pixel group values, is the number of random selections that match polynomial, k is the minimum number of shares required to recover the complete secret in a (k,n) secret sharing scheme, and then calculate Share Polynomial , mod is the function of finding the remainder, each share polynomial Securely sent to data embedder , , the share polynomial is the polynomial corresponding to the share information.

2. According to the robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem of claim 1, It is characterized in that Step S220 includes: set up is the share polynomial The corresponding binary representation is, For data embedders, they need to be embedded in binary representation The binary number in The number of bits contained is equal to ,exist Binary number representation , select any Binary number representation Do not embed data, only Binary representation of Convert the binary number to Embedded binary number representation , thereby obtaining the mark share : , in, Represents a bitwise XOR operation. Before performing the XOR operation, the binary number and binary representation Fill the high position with 0 to 8t position, Indicates the mark share The corresponding polynomial.

3. The robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem according to claim 2, It is characterized in that Step S230 includes secret reconstruction based on the robust Chinese remainder theorem, wherein the secret reconstruction based on the robust Chinese remainder theorem includes: the secret receiver receives a total of no less than k marked shares After that, the following congruence equations are obtained: , in, refers to the ordinal number of the congruence equation, is the thresholded pixel group polynomial The polynomial after embedding the data; First, the secret receiver calculates the invariant part of the secret recovery process to exclude the error introduced : , in, , is a binary number The corresponding polynomial; Secondly, the secret receiver uses the following congruence equations based on the Chinese remainder theorem to obtain the secret polynomial part that is not affected by the error: : , in, for The multiplicative inverse of Then correctly restore the pixel group polynomial after threshold processing : , Finally, the secret receiver Reconstructing the secret polynomial : , and the secret polynomial Convert to an integer to get the reconstructed secret integer .

4. The robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem according to claim 3, It is characterized in that For the secret polynomial and random polynomials , ).

5. The robust secret reconstruction and information hiding method based on the robust Chinese remainder theorem according to claim 3, It is characterized in that Step S230 also includes the extraction of embedded data, i.e., binary data. Extraction: To extract the marked share The binary number embedded in , the secret receiver uses the thresholded pixel group polynomial Calculate secret integer The share polynomial corresponding to each share of : , Then we can get the binary representation of each share polynomial. , and finally extract the embedded binary number : , Among them, the share is marked before performing the XOR operation and binary representation Fill the high position with 0 to the 8t position.