A method and system for covert transmission of data based on blockchain ring signature

CN122802157APending Publication Date: 2026-09-22CHINESE PEOPLES LIBERATION ARMY UNIT 32010
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511608680.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-05
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0003]本申请提供一种基于区块链环签名的隐蔽传输数据的方法和系统,用于解决消息传输信道暴露、现有技术无法满足数据传输具有高隐蔽性需求的技术问题

Benefits of technology

[0013]本申请提出了一种基于区块链环签名的隐蔽传输数据的方法,基于区块链的隐蔽传输技术利用区块链的洪泛广播特点,数据嵌入区块链载体后在网络中进行非定向传播,增加了消息的隐蔽性。此外,区块链的去中心化特性也保护了消息在传输过程中不被篡改和破坏,保护了消息的完整性和可用性。环签名机制能够混淆发送方的地址,区块链环签名具有一次性地址机制,能够隐藏接收方的地址,只有接收方能够根据区块链环签名私钥与公钥获取密文,降低了信道暴露的可能性;环机密传输机制隐藏了数据信息,进一步提高了数据传输的隐蔽性,本申请能够实现高容量数据高效的隐蔽传输,且数据接收方能够判断数据的完整性,发送方和接收方可以完成大体量数据传输。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802157A_ABST
    Figure CN122802157A_ABST
Patent Text Reader

Abstract

The application discloses a method and system for covert transmission of data based on a blockchain ring signature, and the method comprises the following steps: a sender encrypts to-be-transmitted data by using a pre-negotiated key to obtain ciphertext, and divides the ciphertext into ciphertext groups; the sender encodes the to-be-transmitted data based on the ciphertext groups to form a to-be-transmitted data sequence; a one-time address set of each receiver is calculated, and the grouped ciphertext is embedded in the one-time address to generate a new one-time address set; a message set is created based on the to-be-transmitted data sequence and the new one-time address set, and the message set is broadcast to a blockchain; a receiver calculates a one-time address set by using a public key, extracts a to-be-transmitted data sequence based on the message set, and restores the ciphertext based on the to-be-transmitted data sequence; and the ciphertext is combined to obtain the to-be-transmitted data. The sender and the receiver can complete large-volume data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of blockchain technology, and in particular relates to a method and system for covertly transmitting data based on blockchain ring signatures. Background Technology

[0002] Covert transmission is a method of information exchange between a sender and receiver without the knowledge of a third party. It hides the transmission channel, preventing messages from being intercepted and further compromised. Traditional covert transmission technologies rely on centralized institutions, making them vulnerable to disruption and interference. Summary of the Invention

[0003] This application provides a method and system for covert data transmission based on blockchain ring signatures, which solves the technical problem that the message transmission channel is exposed and existing technologies cannot meet the high concealment requirements of data transmission.

[0004] Firstly, a method for covertly transmitting data based on blockchain ring signatures is disclosed, the method comprising: Step S1: The sender uses the pre-negotiated key Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Step S2: The sender encodes the data to be transmitted based on the ciphertext blocks to form a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Step S3: Sender calculates A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Step S4: The sender bases its data on the sequence to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; Step S5: The receiver uses the public key to calculate the receiver's one-time address set, and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Step S6: The receiver combines the ciphertext using the pre-negotiated key. Decrypt to obtain the data to be transmitted. .

[0005] Preferably, in step S1: the sender uses a pre-negotiated key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertexts after being grouped, including: Step S11: The sender uses a symmetric encryption algorithm based on the pre-negotiated symmetric key. Encrypt data to be transmitted Obtain the ciphertext , The enc function is an encryption function; Step S12: The sender calculates the ciphertext. byte length The len function is a function for calculating the length in bytes. Step S13: The sender sends the ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. .

[0006] Preferably, in step S2: the sender encodes the data to be transmitted based on ciphertext blocks to form a sequence of data to be transmitted. , All are encoded data segments to be transmitted, including: Step S21: The sender determines the ciphertext sequence corresponding to the ciphertext block. ; Step S22: The sender sends the ciphertext sequence... All data are converted into the low-order bits of atomic data, and a first random number is filled into the non-low-order bits of the atomic data to obtain the encoded data sequence to be transmitted. .

[0007] Preferably, step S3: the sender calculates... A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses, including: Step S31: The sender generates A second random number is used to calculate a one-time address set by combining it with the address of the recipient's blockchain ring signature network. ; Step S32: The sender embeds the ciphertext into a one-time address by performing an XOR operation between the ciphertext and the one-time address to obtain a new set of one-time addresses. , recorded as , This is a new one-time address.

[0008] Preferably, in step S4: the sender bases the data sequence to be transmitted on... A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages, including: Step S41: The sender generates a message set. , Based on and Generated; Step S42: The sender sends the message set Broadcast to the blockchain.

[0009] Preferably, in step S5: the receiver uses the public key to calculate the receiver's one-time address set, and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Decrypting the ciphertext includes: Step S51: The receiver runs the blockchain ring signature network connected to the client and calls the interface function to obtain the public key and the one-time address set of the blockchain ring signature network. ; Step S52: The recipient uses the public key and the private key of the recipient's local blockchain ring signature network to calculate the recipient's one-time address set o; based on the one-time address set of the blockchain ring signature network... The receiver's one-time address set o determines the sequence of data to be transmitted. ,in, , , These are the one-time address set of the recipient and the one-time address set of the blockchain ring signature network, respectively. The i-th element; based on the data sequence to be transmitted Restore the encrypted text.

[0010] Secondly, a system for covertly transmitting data based on blockchain ring signatures is disclosed, the system comprising: Encryption module: Configured for the sender to use a pre-negotiated key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Encoding module: Configured for the sender to encode the data to be transmitted based on ciphertext blocks, forming a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Address calculation module: configured for sender calculation A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Message generation module: Configured for the sender to generate a sequence of data to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; The restore module is configured so that the receiver uses its public key to calculate a one-time address set and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Decryption module: Configured for the receiver to reassemble the ciphertext using a pre-negotiated key. Decrypt to obtain the data to be transmitted. .

[0011] Thirdly, an electronic device is disclosed, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0012] Fourthly, a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method described above is disclosed.

[0013] This application proposes a method for covert data transmission based on blockchain ring signatures. This blockchain-based covert transmission technology leverages the flooding and broadcasting characteristics of blockchain, embedding data into the blockchain carrier for non-directional propagation within the network, thus increasing message concealment. Furthermore, the decentralized nature of blockchain protects messages from tampering and corruption during transmission, safeguarding message integrity and availability. The ring signature mechanism obfuscates the sender's address; the blockchain ring signature has a one-time address mechanism that hides the receiver's address. Only the receiver can obtain the ciphertext using the blockchain ring signature's private and public keys, reducing the possibility of channel exposure. The ring confidential transmission mechanism further enhances the concealment of data transmission by hiding data information. This application enables efficient covert transmission of high-capacity data, and the data receiver can verify data integrity. Both the sender and receiver can complete large-scale data transmissions. Attached Figure Description

[0014] Figure 1 A flowchart illustrating a method for covertly transmitting data based on blockchain ring signatures; Figure 2 This is a schematic diagram of the architecture of a method for covertly transmitting data based on blockchain ring signatures; Figure 3 This is a schematic diagram of the structure of a system for covertly transmitting data based on blockchain ring signatures. Detailed Implementation

[0015] The embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0016] like Figures 1-2 As shown, this application provides a method for covertly transmitting data based on blockchain ring signatures, the method comprising: Step S1: The sender uses the pre-negotiated key Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Step S2: The sender encodes the data to be transmitted based on the ciphertext blocks to form a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Step S3: Sender calculates A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Step S4: The sender bases its data on the sequence to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; Step S5: The receiver uses the public key to calculate the receiver's one-time address set, and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Step S6: The receiver combines the ciphertext using the pre-negotiated key. Decrypt to obtain the data to be transmitted. .

[0017] Step S1: The sender uses the pre-negotiation key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertexts after being grouped, including: Step S11: The sender uses a symmetric encryption algorithm based on the pre-negotiated symmetric key. Encrypt data to be transmitted Obtain the ciphertext , The enc function is an encryption function; Step S12: The sender calculates the ciphertext. byte length The len function is a function for calculating the length in bytes. Step S13: The sender sends the ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. .

[0018] Step S2: The sender encodes the data to be transmitted based on the ciphertext blocks to form a sequence of data to be transmitted. , All are encoded data segments to be transmitted, including: Step S21: The sender determines the ciphertext sequence corresponding to the ciphertext block. ; Step S22: The sender sends the ciphertext sequence... All data are converted into the low-order bits of atomic data, and a first random number is filled into the non-low-order bits of the atomic data to obtain the encoded data sequence to be transmitted. .

[0019] In this application, the first random number filled in the atomic data corresponding to different elements in the ciphertext sequence is different.

[0020] Step S3: Sender calculates A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses, including: Step S31: The sender generates A second random number is used to calculate a one-time address set by combining it with the address of the recipient's blockchain ring signature network. ; Step S32: The sender embeds the ciphertext into a one-time address by performing an XOR operation between the ciphertext and the one-time address to obtain a new set of one-time addresses. , recorded as , This is a new one-time address.

[0021] In this application, The second random number is different. A random number.

[0022] Step S4: The sender bases the data sequence to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages, including: Step S41: The sender generates a message set. , Based on and Generated; Step S42: The sender sends the message set Broadcast to the blockchain.

[0023] Step S5: The receiver uses the public key to calculate a one-time address set and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Decrypting the ciphertext includes: Step S51: The receiver runs the blockchain ring signature network connected to the client and calls the interface function to obtain the public key and the one-time address set of the blockchain ring signature network. ; Step S52: The recipient uses the public key and the private key of the recipient's local blockchain ring signature network to calculate the recipient's one-time address set o; based on the one-time address set of the blockchain ring signature network... The receiver's one-time address set o determines the sequence of data to be transmitted. ,in, , , These are the one-time address set of the recipient and the one-time address set of the blockchain ring signature network, respectively. The i-th element; based on the data sequence to be transmitted Restore the encrypted text.

[0024] like Figure 3 As shown, this application provides a system for covert data transmission based on blockchain ring signatures, the system comprising: Encryption module: Configured for the sender to use a pre-negotiated key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Encoding module: Configured for the sender to encode the data to be transmitted based on ciphertext blocks, forming a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Address calculation module: configured for sender calculation A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Message generation module: Configured for the sender to generate a sequence of data to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; The restore module is configured so that the receiver uses its public key to calculate a one-time address set and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Decryption module: Configured for the receiver to reassemble the ciphertext using a pre-negotiated key. Decrypt to obtain the data to be transmitted. .

[0025] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein, and such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for covertly transmitting data based on blockchain ring signatures, characterized in that, The methods include: Step S1: The sender uses the pre-negotiated key Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Step S2: The sender encodes the data to be transmitted based on the ciphertext blocks to form a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Step S3: Sender calculates A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Step S4: The sender bases its data on the sequence to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; Step S5: The receiver uses the public key to calculate the receiver's one-time address set, and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Step S6: The receiver combines the ciphertext using the pre-negotiated key. Decrypt to obtain the data to be transmitted. .

2. The method as described in claim 1, characterized in that, Step S1: The sender uses the pre-negotiation key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertexts after being grouped, including: Step S11: The sender uses a symmetric encryption algorithm based on the pre-negotiated symmetric key. Encrypt data to be transmitted Obtain the ciphertext , The enc function is an encryption function; Step S12: The sender calculates the ciphertext. byte length The len function is a function for calculating the length in bytes. Step S13: The sender sends the ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. .

3. The method as described in claim 2, characterized in that, Step S2: The sender encodes the data to be transmitted based on the ciphertext blocks to form a sequence of data to be transmitted. , All are encoded data segments to be transmitted, including: Step S21: The sender determines the ciphertext sequence corresponding to the ciphertext block. ; Step S22: The sender sends the ciphertext sequence... All data are converted into the low-order bits of atomic data, and a first random number is filled into the non-low-order bits of the atomic data to obtain the encoded data sequence to be transmitted. .

4. The method as described in claim 3, characterized in that, Step S3: Sender calculates A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses, including: Step S31: The sender generates A second random number is used to calculate a one-time address set by combining it with the address of the recipient's blockchain ring signature network. ; Step S32: The sender embeds the ciphertext into a one-time address by performing an XOR operation between the ciphertext and the one-time address to obtain a new set of one-time addresses. , recorded as , This is a new one-time address.

5. The method as described in claim 4, characterized in that, Step S4: The sender bases the data sequence to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages, including: Step S41: The sender generates a message set. , Based on and Generated; Step S42: The sender sends the message set Broadcast to the blockchain.

6. The method as described in claim 4, characterized in that, Step S5: The receiver uses the public key to calculate the receiver's one-time address set, and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Decrypting the ciphertext includes: Step S51: The receiver runs the blockchain ring signature network connected to the client and calls the interface function to obtain the public key and the one-time address set of the blockchain ring signature network. ; Step S52: The recipient uses the public key and the private key of the recipient's local blockchain ring signature network to calculate the recipient's one-time address set o; based on the one-time address set of the blockchain ring signature network... The receiver's one-time address set o determines the sequence of data to be transmitted. ,in, , , These are the one-time address set of the recipient and the one-time address set of the blockchain ring signature network, respectively. The i-th element; based on the data sequence to be transmitted. Restore the encrypted text.

7. A system for covertly transmitting data based on blockchain ring signatures, characterized in that, The system includes: Encryption module: Configured for the sender to use a pre-negotiated key. Encrypt data to be transmitted Obtain the ciphertext , ciphertext The ciphertext is obtained by grouping data into 32-byte blocks. ,in , This is a group of ciphertext after being grouped. ; Encoding module: Configured for the sender to encode the data to be transmitted based on ciphertext blocks, forming a sequence of data to be transmitted. , All of these are encoded data segments to be transmitted; Address calculation module: configured for sender calculation A one-time address set of each receiver The ciphertext, after being grouped, is embedded into a one-time address to generate a new set of one-time addresses. The embedding method involves embedding a set of ciphertext into a one-time address. All are one-time addresses; Message generation module: Configured for the sender to generate a sequence of data to be transmitted. A new set of one-time addresses Create message collection Broadcast the message set to the blockchain; All are messages; The restore module is configured so that the receiver uses its public key to calculate a one-time address set and extracts the data sequence to be transmitted based on the message set. Based on the data sequence to be transmitted Restore the ciphertext; Decryption module: Configured for the receiver to reassemble the ciphertext using a pre-negotiated key. Decrypt to obtain the data to be transmitted. .

8. An electronic device, characterized in that, The device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described in any one of claims 1-6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method as described in any one of claims 1-6.