A method and apparatus for encrypted communication and key error correction

By combining channel coding technology, key error correction and encrypted communication are integrated, solving the problems of low efficiency and high overhead caused by key inconsistency, and realizing secure and reliable encrypted communication and key error correction.

CN115883071BActive Publication Date: 2026-04-14PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
Filing Date
2022-11-09
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing technologies suffer from low efficiency and high communication overhead when keys are inconsistent.

Method used

The key error correction process is combined with the encrypted communication process, and key error correction and encrypted communication are achieved by using channel coding (such as LDPC code, convolutional code, BCH code) in a one-way transmission.

Benefits of technology

In the event of key discrepancies, secure and reliable encrypted communication and key correction can be achieved with only a single one-way transmission, reducing communication overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883071B_ABST
    Figure CN115883071B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for encrypted communication and key error correction, which comprises the following steps: a sender and a receiver each collect and store a same-length key, respectively denoted as k A and k B ; then, the sender performs first channel coding on a sending information M A to obtain a bit sequence C A of the same length as the key k A ; then, the sender performs XOR operation on C A and k A to obtain D A , and then performs second channel coding on D A and sends the second channel coding result to the receiver; the receiver performs first decoding error correction on a received signal to obtain D B , then performs XOR operation on the checked D B and the key k B of the receiver to obtain C B ; then, the receiver performs second decoding error correction on C B to obtain M B , and re-codes the checked receiving information M B to obtain C A ; finally, the receiver performs XOR operation on C A and D B to obtain k A . The application can realize encrypted communication and key error correction by only one communication in the case that the keys of the sender and the receiver are inconsistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of wireless communication security technology, and particularly relates to a method and apparatus for encrypted communication and key error correction. Background Technology

[0002] Physical layer key generation [Hu X, Jin L, Huang K, et al. Intelligent reflecting surface-assisted secret key generation with discrete phase shifts in static environment[J].IEEE Wireless Communications Letters,2021,10(9):1867-1870.][Peng Y, Wang P, Xiang W, et al. Secret key generation based on estimated channel state information for TDD-OFDM systems over fading channels[J].IEEE Transactions on Wireless Communications,2017,16(8):5176-5186.] and encryption technology is a publicly available technology most similar to this patent. The main feature of this technology is that both communicating parties use the channel information obtained during the channel estimation process to quantize and generate keys for encrypted communication. However, since it is difficult to achieve completely accurate channel estimation, the keys generated by both parties usually have some differences. Therefore, it is necessary to correct the keys of both parties to a consistent key through key consistency negotiation before using them for encryption and decryption of information. One drawback of existing technologies is that key consistency negotiation requires both communicating parties to exchange negotiation information, which increases communication overhead and power consumption. Summary of the Invention

[0003] This invention proposes a method and apparatus for encrypted communication and key error correction, aiming to improve the low efficiency and high overhead of key error correction and encrypted communication when the keys of the communicating parties are inconsistent. This invention combines the key error correction process with the encrypted communication process, utilizing channel coding (e.g., LDPC codes, convolutional codes, BCH codes, etc.) to correct key errors. This allows the communicating parties to achieve key error correction and encrypted communication with only a single unidirectional transmission, even when the keys are inconsistent. Compared to traditional techniques that require multiple interactions to correct the key before encrypted communication, this invention achieves key error correction and encrypted communication simultaneously with a single unidirectional transmission, resulting in significantly lower communication overhead.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] This invention proposes a method for encrypted communication and key error correction, comprising:

[0006] Step 1: The sender and receiver each collect and store keys of the same length, denoted as k. A and k B ;

[0007] Step 2: The sender sends the message M A Perform the first channel coding to obtain the key k A Equal-length bit sequence C A ;

[0008] Step 3: The sender will send C A With k A XOR yields D A ;

[0009] Step 4: The sender sends to D A Perform a second channel coding to obtain E A And send it to the recipient;

[0010] Step 5: The receiver processes the received E A First, perform the first channel decoding to obtain D. B and D B Perform a decoding correctness check. If the check fails, return to step 1 and start again; if the check passes, proceed to step 6.

[0011] Step 6: The receiver will verify the D B key k with itself B XOR, we get C B ;

[0012] Step 7: The receiver responds to C B Perform a second channel decoding to obtain M B and for M B Perform a decoding correctness check. If the check fails, return to step 1 and start again. If the check passes, output the correct received information and proceed to step 8.

[0013] Step 8: The receiver processes the received information M B Re-code the channel to obtain C A ;

[0014] Step 9: The receiver uses C A Bitwise XOR D B , to obtain k A .

[0015] Furthermore, the encoding includes LDPC codes, convolutional codes, and BCH codes.

[0016] Furthermore, in step 8, the channel coding method is the same as the sender's first channel coding method.

[0017] In another aspect, the present invention provides an encrypted communication and key error correction device, comprising:

[0018] The key generation module is used by the sender and receiver to each collect and store keys of the same length, denoted as k. A and k B ;

[0019] The first channel coding module is used by the sender to code the transmitted information M. A Perform the first channel coding to obtain the key k A Equal-length bit sequence C A ;

[0020] The first XOR module is used by the sender to set C. A With k A XOR yields D A ;

[0021] The second channel coding module is used by the sender to code D. A Perform a second channel coding to obtain E A And send it to the recipient;

[0022] The first channel decoding and verification module is used by the receiver to verify the received E A First, perform the first channel decoding to obtain D. B and D B Perform a decoding correctness check. If the check fails, return to the key generation module to start again; if the check passes, execute the second XOR module.

[0023] The second XOR module is used by the receiver to pass the verification D. B key k with itself B XOR, we get C B ;

[0024] The second channel decoding and verification module is used by the receiver to verify C. B Perform a second channel decoding to obtain M B and for M B Perform a decoding correctness check. If the check fails, return to the key generation module to start over. If the check succeeds, output the correct received information and continue executing the third channel coding module.

[0025] The third channel coding module is used by the receiver to encode the received information M. BRe-code the channel to obtain C A ;

[0026] The third XOR module is used by the receiver in C. A Bitwise XOR D B , to obtain k A .

[0027] Furthermore, the encoding includes LDPC codes, convolutional codes, and BCH codes.

[0028] Furthermore, in the third channel coding module, the channel coding method is the same as the sender's first channel coding method.

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

[0030] This invention integrates key error correction and XOR encryption, enabling encrypted communication and key error correction with a single communication even when the sender and receiver have inconsistent keys. In other words, even if the sender's encryption key and the receiver's decryption key are different, secure and reliable encrypted communication can be achieved while ensuring the receiver obtains the same key as the sender from the received signal. Compared to traditional technologies, this invention completes encrypted communication and key error correction with only one unidirectional transmission, resulting in lower communication overhead. Attached Figure Description

[0031] Figure 1 This is one of the flowcharts of an encrypted communication and key error correction method according to an embodiment of the present invention;

[0032] Figure 2 This is a second flowchart of an encrypted communication and key error correction method according to an embodiment of the present invention;

[0033] Figure 3 This is a schematic diagram of an encrypted communication and key error correction device according to an embodiment of the present invention. Detailed Implementation

[0034] The present invention will be further explained below with reference to the accompanying drawings and specific embodiments:

[0035] This invention provides an encrypted communication and key error correction method that enables key error correction and encrypted communication with only a single one-way transmission, even when the keys of the communicating parties are inconsistent. The method includes: first, the sender Alice and the receiver Bob each collect and store keys of the same length, denoted as k. A and k B Then, Alice sends message M. A Perform the first channel coding to obtain the key k A Equal-length bit sequence C ANext, Alice will... A With k A XOR results Afterwards, regarding D A The second channel coding is performed and sent to Bob; Bob first performs the first decoding and error correction on the received signal to obtain D. B Then the verified D B (D A =D B ) and its own key k B XOR, get Next, Bob spoke to C B The second decoding and error correction process yields M. B And will receive the verified information M B (M A =M B Re-encoding yields C A Finally, Bob used C. A Bitwise XOR D B , to obtain k A ,Right now

[0036] The present invention specifically adopts the following technical solution, where Alice represents the sender and Bob represents the receiver, and the specific steps are as follows: Figure 1 , Figure 2 As shown:

[0037] Step 1: Alice and Bob collect binary sequences k of the same length using physical layer key generation and key distribution methods. A and k B Each is stored as a key.

[0038] Step 2: Alice sends message M A Perform the first channel coding (e.g., LDPC code, convolutional code, BCH code, etc.) to obtain the key k. A Equal-length bit sequence C A .

[0039] Step 3: Alice uses the key k A Bitwise XOR C A After encryption, we get D. A ,Right now

[0040] Step 4: Alice to D A A second channel coding process (e.g., LDPC code, convolutional code, BCH code, etc.) is performed to obtain E. A And send it to Bob.

[0041] Step 5: Bob will receive the EA First, perform the first channel decoding to obtain D. B And perform a decoding correctness check on it; if the check fails, it means that D... A ≠D B Return to step 1 and start again; if the verification passes, it means D... A =D B Continue with the following steps.

[0042] Step 6: Bob uses key k B Bitwise XOR D B After decryption, C is obtained. B ,Right now

[0043] Step 7: Bob to C B A second channel decoding is performed to obtain the received information M. B And perform a decoding correctness check on it; if the check fails, it means M... B ≠M A Return to step 1 and start again; if the verification passes, it means M... B =M A Output the correct received information and continue with the following steps.

[0044] Step 8: Bob receives information M B (M A =M B The channel coding is re-performed using the same method as Alice's first channel coding, resulting in C. A .

[0045] Step 9: Bob uses C A Bitwise XOR D B Thus, Alice's key k is obtained. A ,Right now

[0046] Based on the above embodiments, such as Figure 3 As shown, the present invention also proposes an encrypted communication and key error correction device, comprising:

[0047] The key generation module is used by the sender and receiver to each collect and store keys of the same length, denoted as k. A and k B ;

[0048] The first channel coding module is used by the sender to code the transmitted information M. A Perform the first channel coding to obtain the key k A Equal-length bit sequence C A ;

[0049] The first XOR module is used by the sender to set C. A With k A XOR yields D A ;

[0050] The second channel coding module is used by the sender to code D. A Perform a second channel coding to obtain E A And send it to the recipient;

[0051] The first channel decoding and verification module is used by the receiver to verify the received E A First, perform the first channel decoding to obtain D. B and D B Perform a decoding correctness check. If the check fails, return to the key generation module to start again; if the check passes, execute the second XOR module.

[0052] The second XOR module is used by the receiver to pass the verification D. B key k with itself B XOR, we get C B ;

[0053] The second channel decoding and verification module is used by the receiver to verify C. B Perform a second channel decoding to obtain M B and for M B Perform a decoding correctness check. If the check fails, return to the key generation module to start over. If the check succeeds, output the correct received information and continue executing the third channel coding module.

[0054] The third channel coding module is used by the receiver to encode the received information M. B Re-code the channel to obtain C A ;

[0055] The third XOR module is used by the receiver in C. A Bitwise XOR D B , to obtain k A .

[0056] Furthermore, the encoding includes LDPC codes, convolutional codes, and BCH codes.

[0057] Furthermore, in the third channel coding module, the channel coding method is the same as the sender's first channel coding method.

[0058] In summary, this invention integrates the key error correction process and the XOR encryption process, enabling encrypted communication and key error correction to be achieved in a single communication even when the sender and receiver have inconsistent keys. In other words, even if the sender's encryption key and the receiver's decryption key are different, secure and reliable encrypted communication can still be achieved, allowing the receiver to obtain the same key as the sender from the received signal. Compared to traditional technologies, this invention completes encrypted communication and key error correction in a single unidirectional transmission, resulting in lower communication overhead.

[0059] The above description is only a preferred embodiment of the present invention. It should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for encrypted communication and key error correction, characterized in that, include: Step 1: The sender and receiver each collect and store keys of the same length, denoted as k. A and k B ; Step 2: The sender sends the message M A Perform the first channel coding to obtain the key k A Equal-length bit sequence C A ; Step 3: The sender will send C A With k A XOR yields D A ; Step 4: The sender sends to D A Perform a second channel coding to obtain E A And send it to the recipient; Step 5: The receiver processes the received E A First, perform the first channel decoding to obtain D. B and D B Perform a decoding correctness check. If the check fails, return to step 1 and start again; if the check passes, proceed to step 6. Step 6: The receiver will verify the D B key k with itself B XOR, we get C B ; Step 7: The receiver responds to C B Perform a second channel decoding to obtain M B and for M B Perform a decoding correctness check. If the check fails, return to step 1 and start again. If the check passes, output the correct received information and proceed to step 8. Step 8: The receiver processes the received information M. B Re-code the channel to obtain C A ; Step 9: The receiver uses C A Bitwise XOR D B , to obtain k A .

2. The encrypted communication and key error correction method according to claim 1, characterized in that, The encoding includes LDPC codes, convolutional codes, and BCH codes.

3. The encrypted communication and key error correction method according to claim 1, characterized in that, In step 8, the channel coding method is the same as the sender's first channel coding method.

4. A device for encrypted communication and key error correction, characterized in that, include: The key generation module is used by the sender and receiver to each collect and store keys of the same length, denoted as k. A and k B ; The first channel coding module is used by the sender to code the transmitted information M. A Perform the first channel coding to obtain the key k A Equal-length bit sequence C A ; The first XOR module is used by the sender to set C. A With k A XOR yields D A ; The second channel coding module is used by the sender to code D. A Perform a second channel coding to obtain E A And send it to the recipient; The first channel decoding and verification module is used by the receiver to verify the received E A First, perform the first channel decoding to obtain D. B and D B Perform a decoding correctness check. If the check fails, return to the key generation module to start again. If the verification passes, the second XOR module is executed; The second XOR module is used by the receiver to pass the verification of the D. B key k with itself B XOR, we get C B ; The second channel decoding and verification module is used by the receiver to verify C. B Perform a second channel decoding to obtain M B and for M B Perform a decoding correctness check. If the check fails, return to the key generation module to start again. If the verification passes, the correct received information is output, and the third channel coding module continues to be executed; The third channel coding module is used by the receiver to encode the received information M. B Re-code the channel to obtain C A ; The third XOR module is used by the receiver in C. A Bitwise XOR D B , to obtain k A .

5. The encrypted communication and key error correction device according to claim 4, characterized in that, The encoding includes LDPC codes, convolutional codes, and BCH codes.

6. The encrypted communication and key error correction device according to claim 4, characterized in that, In the third channel coding module, the channel coding method is the same as the sender's first channel coding method.

Citation Information

Patent Citations

  • Key negotiation method and communication device

    CN110365474A