A dynamic encryption communication method and device

By combining improved zero-knowledge proof technology and homomorphic encryption algorithms with blockchain technology, the security and efficiency issues of existing encrypted communication methods in real-time communication scenarios are solved, achieving higher data transmission security and computing power.

CN118509180BActive Publication Date: 2024-10-15拓达世纪信息产业有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410970871.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-15
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

Existing encrypted communication methods are difficult to provide sufficient security when faced with complex attack methods and high-demand real-time communication scenarios, and security cannot be guaranteed in a quantum computing environment. Traditional encryption algorithms are easily cracked, and blockchain The application of technology has not yet been fully exploited.

Method used

Using improved zero-knowledge proof technology combined with hash value verification and qubit verification for identity verification, and using homomorphic encryption algorithms to encrypt and decrypt data, while using blockchain technology for public key management and identity verification, through smart contracts Automate public key registration, updates, and verification.

Benefits of technology

It improves the security and efficiency of communication data in transmission, prevents man-in-the-middle attacks and phishing attacks, meets the requirements for high efficiency and low latency in real-time communication, and provides higher computing power and data processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509180B_ABST
    Figure CN118509180B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of encrypted communication, and specifically relates to a dynamic encrypted communication method and a confidential conference room thereof. The dynamic encrypted communication method comprises: using an improved zero-knowledge proof technology to authenticate the identities of communication participants, and starting real-time communication when all communication participants have completed the identity authentication; using a homomorphic encryption algorithm to encrypt the original data sent by the sender, and the receiver uses a private key to decrypt the received encrypted data to obtain decrypted data; each communication participant is assigned a pair of public keys and private keys, the public keys are registered on a blockchain, and the blockchain records the mapping relationship between the public keys and the identity information of the communication participants; the present invention improves the security of identity authentication and real-time communication, and has broad application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of encryption communication, and in particular relates to a dynamic encryption communication method and equipment. Background Art

[0002] In the modern information society, the security and privacy protection of data transmission are the focus of attention in encrypted communications. Especially in real-time communication scenarios, how to ensure the confidentiality and integrity of communication data during transmission is an urgent problem to be solved.

[0003] Traditional encrypted communication methods, such as symmetric encryption and asymmetric encryption, can provide data protection to a certain extent, but they still have some shortcomings when facing complex attack methods and high-demand real-time scenarios. For example, username and password verification is vulnerable to threats such as man-in-the-middle attacks and phishing attacks, and cannot provide sufficient security. It is inefficient when processing complex homomorphic operations and is difficult to meet the requirements of real-time communication for high efficiency and low latency.

[0004] With the development of quantum computing technology, traditional encryption algorithms face the risk of being cracked, and the security of existing encryption communication methods cannot be guaranteed in a quantum computing environment. Although blockchain technology has significant advantages in data security and transparency, its application in existing encryption communication methods is still insufficient, and its decentralized and tamper-proof characteristics have not been fully utilized to enhance communication security. Summary of the invention

[0005] The present invention provides a dynamic encryption communication method and equipment, the purpose of which is to use the dynamic encryption communication method to give communication participants real-time communication data higher security during transmission.

[0006] In a first aspect, the present invention provides a dynamic encryption communication method, which is applied to a data transmission scenario of real-time communication, and the method comprises the following steps:

[0007] Step S1, using improved zero-knowledge proof technology to authenticate the identities of communication participants, the improved zero-knowledge proof technology combines hash value verification and quantum bit verification, the communication participants include senders and receivers; when all communication participants complete identity authentication, real-time communication is started.

[0008] Furthermore, the use of the improved zero-knowledge proof technology to authenticate the identity of the communication participants includes the following steps:

[0009] Step S11, construct Basic elliptic curve ,in For a large prime number, establish a quantum entangled state:

[0010] ;

[0011] Among them, Quantum bits, and They represent the ground state and excited state of the quantum bit respectively.

[0012] Step S12, the sender selects a random number , , calculate the first point , for A base point on which to calculate the first hash value , Initial authentication data distributed to said communication participants, , H is a cryptographic hash function.

[0013] Step S13, based on the sender's private key and the first hash value And random numbers , calculate the second point:

[0014] ;

[0015] in, The private key chosen by the sender satisfies , Represents the remainder operation.

[0016] Step S14, sending the data point (C, s, m) consisting of the first point, the second point and the initial verification data to the receiver, and sending the quantum bit Send to the receiver.

[0017] Step S15, the receiver calculates the third point based on the data point ,in, , , Q and are the public key points of the sender and receiver respectively, A private key chosen for the recipient, .

[0018] Step S16: The receiver calculates a second hash value based on the third point and the initial verification data. , using the computationally based measurement method to measure the received quantum bit Take measurements, if , and the receiver's measurement result is the same as the sender's quantum bit, then the verification is successful.

[0019] Step S2, use the homomorphic encryption algorithm to encrypt the original data sent by the sender, and the receiver uses the private key to decrypt the received encrypted data to obtain the decrypted data; each communication participant is assigned a pair of public keys and private keys, and the public key is registered on the blockchain. The blockchain records the mapping relationship between the public key and the identity information of the communication participant.

[0020] Furthermore, the specific method of using the homomorphic encryption algorithm to encrypt the original data sent by the sender and the receiver using the private key to decrypt the received encrypted data includes:

[0021] If the sender needs to send a raw data , the sender uses the receiver's public key For the original data Encrypt and get the encrypted result , the receiver uses his own private key b to encrypt the received data Decrypt and get the decrypted data ;in, represents the encryption function, Represents the decryption function.

[0022] Furthermore, if the sender needs to send two pieces of original data, and Encrypt them separately to get encrypted data and , , .

[0023] The sender encrypts the data and Perform homomorphic addition operation to obtain the encrypted result: , Represents the exclusive-or operation.

[0024] The receiver uses his own private key to encrypt the result Decryption is performed to obtain decrypted data, wherein the decrypted data is and of .

[0025] Furthermore, if the sender needs to send multiple pieces of original data, and the number of pieces of data is greater than or equal to 3, then Encrypt them separately to get encrypted data .

[0026] The sender encrypts the data Perform homomorphic operations to obtain encrypted results in, Represents any polynomial function.

[0027] The receiver uses his own private key to encrypt the result Decrypt and get the polynomial operation result of the original data .

[0028] Furthermore, the blockchain adopts a consortium chain architecture, and the consortium chain nodes are jointly maintained by communication participants, and all communication participants can participate in the consensus process of the blockchain.

[0029] Furthermore, the mapping relationship between the public key and identity information on the blockchain is managed through a smart contract, and the smart contract automatically performs public key registration, update and verification.

[0030] When a communication participant joins the system for the first time, his / her public key is registered on the blockchain and bound to his / her identity information. When a communication participant needs to replace his / her public key, he / she submits an update request through the smart contract, and the smart contract verifies the identity and then updates the public key. During the communication process, the smart contract verifies in real time whether the public key of the communication participant is valid.

[0031] In a second aspect, based on the same inventive concept, the present invention also provides a device, which adopts the dynamic encryption communication method described in the first aspect.

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

[0033] The present invention adopts improved zero-knowledge proof technology combined with hash value verification and quantum bit verification to authenticate communication participants, ensure the security and reliability of the identity authentication process, and prevent man-in-the-middle attacks and phishing attacks; use homomorphic encryption algorithm to encrypt and decrypt data, so that data calculations can still be performed in the encrypted state, which significantly improves the efficiency of encrypted communication and meets the requirements of real-time communication for high efficiency and low latency.

[0034] The present invention applies blockchain technology to public key management and identity authentication processes, and automatically performs public key registration, update and verification through smart contracts to ensure the security and transparency of the mapping relationship between public keys and identity information; the present invention supports homomorphic operations on multiple original data, and can perform polynomial operations as needed, flexibly adapt to different data computing needs, provide higher computing power and data processing capabilities, solve the problems of existing technologies in identity authentication, security, efficiency and scalability, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 The present invention is a flowchart of a dynamic encryption communication method. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example

[0037] like Figure 1 FIG. 1 is a flowchart of a dynamic encryption communication method, which is applied to a data transmission scenario of real-time communication. The method includes the following steps:

[0038] Step S1, using improved zero-knowledge proof technology to authenticate the identities of communication participants, the improved zero-knowledge proof technology combines hash value verification and quantum bit verification, the communication participants include senders and receivers; when all communication participants complete identity authentication, real-time communication is started.

[0039] It should be noted that in this improved zero-knowledge proof technology, we use the principle of quantum entanglement to enhance the security of authentication; the sender and receiver share a quantum entangled state, and any attacker who attempts to eavesdrop or tamper with the message will destroy the quantum entangled state and be discovered; at the same time, we use elliptic curve cryptography, which can provide sufficient security strength with a smaller key length.

[0040] The security of this technology relies on the following difficult problems: discrete logarithm problem, given Q=aP, solving a is a difficult problem; anti-collision of hash functions, finding two different inputs that make their hash values ​​the same is a difficult problem; quantum entanglement is non-clonable, any attacker who attempts to copy the quantum entangled state will destroy the original quantum state; through this improved zero-knowledge proof technology, the sender and receiver can safely conduct dynamic encrypted communication without sharing any secret information in advance; this technology has a high degree of security and efficiency and can be widely used in various secure communication scenarios

[0041] The method of using the improved zero-knowledge proof technology to authenticate the identity of the communication participants includes the following steps:

[0042] Step S11, construct Basic elliptic curve ,in For a large prime number, establish a quantum entangled state:

[0043] ;

[0044] Among them, Quantum bits, and They represent the ground state and excited state of the quantum bit respectively.

[0045] Step S12, the sender selects a random number , , calculate the first point , for A base point on which to calculate the first hash value , Initial authentication data distributed to said communication participants, , H is a cryptographic hash function.

[0046] Step S13, based on the sender's private key and the first hash value And random numbers , calculate the second point:

[0047] ;

[0048] in, The private key chosen by the sender satisfies , Represents the remainder operation.

[0049] Step S14, sending the data point (C, s, m) consisting of the first point, the second point and the initial verification data to the receiver, and sending the quantum bit Send to the receiver.

[0050] Step S15, the receiver calculates the third point based on the data point ,in, , , Q and are the public key points of the sender and receiver respectively, A private key chosen for the recipient, .

[0051] Step S16: The receiver calculates a second hash value based on the third point and the initial verification data. , using the computationally based measurement method to measure the received quantum bit Take measurements, if , and the receiver's measurement result is the same as the sender's quantum bit, then the verification is successful.

[0052] Step S2, use the homomorphic encryption algorithm to encrypt the original data sent by the sender, and the receiver uses the private key to decrypt the received encrypted data to obtain the decrypted data; each communication participant is assigned a pair of public keys and private keys, and the public key is registered on the blockchain. The blockchain records the mapping relationship between the public key and the identity information of the communication participant.

[0053] The specific method of using the homomorphic encryption algorithm to encrypt the original data sent by the sender and the receiver using the private key to decrypt the received encrypted data includes:

[0054] If the sender needs to send a raw data , the sender uses the receiver's public key For the original data Encrypt and get the encrypted result , the receiver uses his own private key b to encrypt the received data Decrypt and get the decrypted data ;in, represents the encryption function, Represents the decryption function.

[0055] If the sender needs to send two pieces of original data, and Encrypt them separately to get encrypted data and , , .

[0056] The sender encrypts the data and Perform homomorphic addition operation to obtain the encrypted result: , Represents the exclusive-or operation.

[0057] The receiver uses his own private key to encrypt the result Decryption is performed to obtain decrypted data, wherein the decrypted data is and of .

[0058] Furthermore, if the sender needs to send multiple pieces of original data, and the number of pieces of data is greater than or equal to 3, then Encrypt them separately to get encrypted data .

[0059] The sender encrypts the data Perform homomorphic operations to obtain encrypted results in, Represents any polynomial function.

[0060] The receiver uses his own private key to encrypt the result Decrypt and get the polynomial operation result of the original data .

[0061] In this embodiment, the blockchain adopts a consortium chain architecture, and the consortium chain nodes are jointly maintained by communication participants. All communication participants can participate in the consensus process of the blockchain.

[0062] It should be noted that the blockchain adopts the Byzantine Fault Tolerance (BFT) consensus algorithm to ensure that consensus can be reached even in the presence of malicious nodes, thereby improving the security and reliability of the system. The consensus algorithm is a consensus algorithm in a distributed system that can reach consensus even in the presence of malicious nodes. The blockchain application in this solution uses the BFT consensus algorithm as the main step. In the BFT consensus algorithm, nodes are divided into three categories: Primary node: responsible for proposing new blocks; Backup node: responsible for verifying and confirming the blocks proposed by the primary node; Client: the user who initiates a transaction request.

[0063] The BFT consensus algorithm usually includes three stages: Pre-prepare, Prepare, and Commit. In the pre-prepare stage, the master node broadcasts a pre-prepare message to all backup nodes, including the proposed block content and the hash value of the block.

[0064] Among them, View is the current view number, Sequence Number is the sequence number of the block, Block is the proposed block content, and Digest is the hash value of the block content.

[0065] In the preparation phase, after receiving the pre-prepare message, each backup node verifies whether the block content and hash value are consistent, and broadcasts the preparation message to all other nodes; Where Node ID is the identifier of the backup node.

[0066] In the confirmation phase, after receiving enough (at least 2f+1, where f is the maximum number of malicious nodes allowed in the system) preparation messages, each backup node broadcasts a confirmation message to all other nodes.

[0067] .

[0068] When a node receives enough (at least 2f+1) confirmation messages, it considers that the block has reached consensus and adds it to the blockchain; the BFT consensus algorithm can ensure the security and reliability of the system when there are at most f malicious nodes. Formulaically, the total number of nodes N in the system satisfies: N≥3f+1

[0069] The mapping relationship between the public key and identity information on the blockchain is managed through a smart contract, which automatically performs public key registration, update and verification.

[0070] When a communication participant joins the system for the first time, his / her public key is registered on the blockchain and bound to his / her identity information. When a communication participant needs to replace his / her public key, he / she submits an update request through the smart contract, and the smart contract verifies the identity and then updates the public key. During the communication process, the smart contract verifies in real time whether the public key of the communication participant is valid. Example

[0071] This embodiment provides a secure conference room, which adopts the dynamic encryption communication method described in Example 1.

[0072] When setting up the conference room environment, choose a room with good physical security and install necessary protective facilities, such as anti-theft doors, surveillance cameras, etc. Deploy dedicated network hardware, including encryption routers, firewalls, and communication servers that support homomorphic encryption.

[0073] The conference room is equipped with terminal devices, providing each participant with an encrypted terminal device, such as an encrypted laptop or tablet. A high-definition video conferencing system is installed, including a camera, microphone, and display; all devices are equipped with software modules that support zero-knowledge proof and homomorphic encryption.

[0074] In identity authentication and key management, the n-order basic elliptic curve G is constructed according to step S11 in Example 1, and a quantum entangled state is established. The participant uses the method described in steps S12 to S16 for identity authentication. The participant's public key is registered on the alliance chain through a smart contract and bound to the identity information.

[0075] The sender uses the receiver's public key to homomorphically encrypt the original data. The encrypted data is transmitted to the receiver through a private network. The receiver uses the private key to decrypt the encrypted data and obtain the original data.

[0076] If multiple pieces of data are sent, the sender uses homomorphic addition or other homomorphic operations to operate on the encrypted data, and the receiver decrypts the encrypted result after the operation to obtain the operation result of the original data.

[0077] Adopting a consortium chain architecture, all participants jointly maintain the blockchain and use smart contracts to manage the mapping relationship between public keys and identity information, including registration, update and verification.

[0078] Monitor the communication process in real time, conduct regular security audits, and develop emergency response plans to deal with possible cyber attacks or data leaks; conduct regular security awareness training for conference room users; and ensure that the communication process complies with relevant data protection regulations.

[0079] Through the above steps, a confidential meeting room using a dynamic encryption communication method was built, achieving a highly secure real-time communication environment.

[0080] The present invention is described by specific embodiments, and it should be understood by those skilled in the art that various changes and equivalent substitutions may be made to the present invention without departing from the scope of the present invention. In addition, various modifications may be made to the present invention for specific situations or materials without departing from the scope of the present invention. Therefore, the present invention is not limited to the disclosed specific embodiments, but should include all implementation methods falling within the scope of the claims of the present invention.

Claims

1. A dynamic encryption communication method, applied to data transmission scenarios of real-time communication, characterized in that: The method comprises the following steps: Step S1, using an improved zero-knowledge proof technology to authenticate the identity of the communication participants, the improved zero-knowledge proof technology combines hash value verification and quantum bit verification, the communication participants include the sender and the receiver; when all communication participants complete the identity verification, start the real-time communication; The method of using the improved zero-knowledge proof technology to authenticate the identity of the communication participants includes the following steps: Step S11, construct Elliptic curve ,in For a large prime number, establish a quantum entangled state: ; Among them, Quantum bits, and Represent the ground state and excited state of the quantum bit respectively; Step S12, the sender selects a random number , , calculate the first point , for A base point on which to calculate the first hash value , Initial authentication data distributed to said communication participants, , H is a cryptographic hash function; Step S13, based on the sender's private key and the first hash value And random numbers , calculate the second point: ; in, The private key chosen by the sender satisfies , Represents the remainder operation; Step S14, the data point consisting of the first point, the second point and the initial verification data ( ) is sent to the receiver, and the quantum bit Send to the receiver; Step S15, the receiver calculates the third point based on the data point ,in, , , Q and are the public key points of the sender and receiver respectively, A private key chosen for the recipient, ; Step S16: The receiver calculates a second hash value based on the third point and the initial verification data. , using the computationally based measurement method to measure the received quantum bit Take measurements, if , and the receiver's measurement result is the same as the sender's quantum bit, then the verification is successful; Step S2, use the homomorphic encryption algorithm to encrypt the original data sent by the sender, and the receiver uses the private key to decrypt the received encrypted data to obtain the decrypted data; each communication participant is assigned a pair of public keys and private keys, and the public key is registered on the blockchain. The blockchain records the mapping relationship between the public key and the identity information of the communication participant.

2. A dynamic encryption communication method according to claim 1, characterized in that: The specific method of using the homomorphic encryption algorithm to encrypt the original data sent by the sender and the receiver using the private key to decrypt the received encrypted data includes: If the sender needs to send a raw data , the sender uses the receiver's public key For the original data Encrypt and get the encrypted result , the receiver uses his own private key b to encrypt the received data Decrypt and get the decrypted data ;in, represents the encryption function, Represents the decryption function.

3. A dynamic encryption communication method according to claim 2, characterized in that: If the sender needs to send two pieces of original data, and Encrypt them separately to get encrypted data and , , ; The sender encrypts the data and Perform homomorphic addition operation to obtain the encrypted result: , Represents the exclusive OR operation; The receiver uses his own private key to encrypt the result Decryption is performed to obtain decrypted data, wherein the decrypted data is and of .

4. A dynamic encryption communication method according to claim 3, characterized in that: If the sender needs to send multiple pieces of original data, and the number of pieces of data is greater than or equal to 3, then Encrypt them separately to get encrypted data ; The sender encrypts the data Perform homomorphic operations to obtain encrypted results in, represents any polynomial function; The receiver uses his own private key to encrypt the result Decrypt and get the polynomial operation result of the original data .

5. A dynamic encryption communication method according to claim 4, characterized in that: The blockchain adopts a consortium chain architecture, and the consortium chain nodes are jointly maintained by communication participants, and all communication participants can participate in the consensus process of the blockchain.

6. A dynamic encryption communication method according to claim 5, characterized in that: The mapping relationship between the public key and identity information on the blockchain is managed through a smart contract, which automatically performs public key registration, update and verification; When a communication participant joins the system for the first time, his / her public key is registered on the blockchain and bound to his / her identity information. When a communication participant needs to replace his / her public key, he / she submits an update request through the smart contract, and the smart contract verifies the identity and then updates the public key. During the communication process, the smart contract verifies in real time whether the public key of the communication participant is valid.

7. A confidentiality device, characterized in that: The security device adopts the dynamic encryption communication method described in any one of claims 1-6.