Text steganography information transmission system and method based on block chain
Through the combination of generative text steganography and blockchain technology, the problem of text steganography being easily tampered with and leaked during transmission is solved, the immutability and undeniability of information is realized, and the security and concealment of data transmission are improved.
Patent Information
- Application Number
- CN202510340251.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-08-05
AI Technical Summary
The prior art has problems in text steganography that are prone to tampering, leaking and forging during information transmission, and cannot effectively combine steganography with blockchain technology to improve the security and integrity of data transmission.
Through the security guarantee of the entire process of generative text steganography, data encryption, information transmission and decryption, and storage and transmission in combination with blockchain technology, information concealment, integrity and immutability of information are ensured. Generative text steganography is used to generate steganographic text files, and encrypt and decrypt through password block link mode, and checksum storage is used to utilize the decentralized and immutable characteristics of blockchain.
It has achieved the improvement of information security, integrity and concealment in blockchain data transmission, ensured the immutability and undeniability of information during transmission, and enhanced the security and concealment of data transmission.
Smart Images

Figure CN120433906A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a blockchain-based text steganographic information transmission system and method, belonging to the field of blockchain intelligent security technology. Background Art
[0002] With the widespread adoption and development of the internet, information transmission and data security are becoming increasingly prominent. While traditional data transmission methods utilize encryption technologies to protect data security, these methods remain vulnerable to risks such as traffic analysis and data leakage. Steganography, as an information hiding technique, has gained widespread application, particularly in the transmission of private information. However, existing technologies still face challenges, particularly in combining text steganography with blockchain technology, which remains a challenge in fully addressing information security.
[0003] The existing technical solutions have the following main deficiencies: (1) Although text steganography can effectively hide information, it has defects in ensuring data integrity, security during transmission, and tamper-proofness. Information is easily tampered with or leaked during transmission, and its integrity cannot be effectively guaranteed. (2) Traditional text steganography cannot ensure the non-repudiation of the sender, that is, the sender cannot prove that he has sent specific information, which easily leads to information forgery and tampering. (3) Existing technologies fail to effectively combine steganography with stronger security mechanisms and cannot deal with the problems of information tampering, leakage, and forgery that may occur during data transmission.
[0004] Therefore, how to apply steganography to tamper verification of blockchain data transmission and thereby improve the security of generated text data transmission has become an urgent problem to be solved. Summary of the Invention
[0005] This invention aims to address the technical problem of applying steganography to blockchain data transmission for tamper verification, thereby improving the security of generative text data transmission. It proposes a blockchain-based text steganographic information transmission system and method. By leveraging the decentralized, tamper-proof, and transparent nature of blockchain, this system aims to enhance the security, integrity, and confidentiality of text steganography in data transmission.
[0006] The working principle of this invention is: by designing and implementing security protection for the entire process from information hiding, data encryption, information transmission to reception, decryption and recovery, sensitive information is converted into ordinary text using text steganography to ensure information confidentiality; at the same time, blockchain technology is combined to store and transmit steganographic data to ensure data integrity, non-tamperability and non-repudiation.
[0007] The purpose of the present invention is achieved through the following technical solutions:
[0008] The present invention discloses a method for transmitting text steganographic information based on blockchain, comprising the following steps:
[0009] Step 1: Generative text steganography is used to perform probabilistic coding and screening on the text information to be transmitted to generate a steganographic text file;
[0010] Step 1.1: Construct a probability distribution for selecting the text to be transmitted;
[0011] Step 1.2: Use probability coding to perform probability distribution screening on the text information to be transmitted;
[0012] Step 1.3: Generate context from the bit stream filtered by the probability distribution in a loop iteration manner to form a steganographic text file.
[0013] Step 2: Use the cipher block chaining mode to encrypt the stego text file in fixed-length segments to form a ciphertext file;
[0014] Step 2.1: Generate a random fixed-length byte initialization vector (IV) using Cipher Block Chaining (CBC) mode.
[0015] Step 2.2: Split the steganographic text file into fixed-length bytes to obtain ciphertext blocks;
[0016] Step 2.2.1: Split the steganographic text file into multiples of the fixed-length bytes to obtain the initial steganographic text file blocks;
[0017] Step 2.2.2: When the initial stegotext file block is an integer multiple of the fixed length, align the end of the initial stegotext file block with bytes that are an integer multiple of the fixed length.
[0018] Step 2.2.3: When the initial stegotext file block is not an integer multiple of the fixed-length bytes, obtain the difference t between the last initial stegotext file block and the fixed-length bytes, and pad the end of the initial stegotext file block with bytes that are multiples of t;
[0019] Step 2.2.4: Execute steps 2.2.1 to 2.2.3 in an iterative loop until the segmentation of the steganographic text file is completed;
[0020] Step 2.2.5: Concatenate the aligned steganographic text file blocks end to end to form a ciphertext block;
[0021] Step 2.3: Pre-join the fixed-length byte initialization vector and the ciphertext block to form a ciphertext file;
[0022] Step 2.4: Place the initialization vector generated in step 2.3 before the sequentially concatenated ciphertext blocks to form a ciphertext file.
[0023] Step 3: Store the queued encrypted file, manufacturer serial number, and receiving device information in the blockchain;
[0024] Step 3.1: Upload the receiving device’s MAC address to the blockchain to form the manufacturer’s serial number;
[0025] Step 3.2: Verify and bind the authorized user information with the manufacturer’s serial number and upload it to the blockchain to form the receiving device information.
[0026] Step 4: When the receiving device receives the file, the manufacturer's serial number is used to match and verify the receiving device information;
[0027] Step 4.1: When the verification matches, jump to step 5;
[0028] Step 4.2: If the verification matches are inconsistent, repeat step 4.
[0029] Step 5: Download the verified ciphertext file to the receiving device and decrypt it using the cipher block chaining mode to form a steganographic text file;
[0030] Step 5.1: Use the cipher block chaining mode to obtain the fixed-length byte initialization vector of the ciphertext file;
[0031] Step 5.2: Remove the fixed-length byte initialization vector and padding alignment from the ciphertext file to form a steganographic text file;
[0032] Step 6: Decrypt the steganographic text file to generate a plaintext file;
[0033] Step 6.1: Use probability distribution screening to restore the steganographic text file to form a bit stream to be decrypted;
[0034] Step 6.2: Reverse encode the bit stream to be decrypted to form a plaintext file.
[0035] The present invention discloses a blockchain-based text steganographic information transmission system, which is used to implement the above method. The present invention discloses a blockchain-based text steganographic information transmission system, which includes a steganographic module, an upload module, a blockchain encryption module, an identity authentication module, a file download module, and a steganographic file processing module;
[0036] The steganographic module is used to encrypt the text information to be transmitted to form a steganographic text file; and transmit the steganographic text file to the file upload module;
[0037] The file upload module is used to upload the steganographic text file to the blockchain encryption module;
[0038] The blockchain encryption module encrypts the steganographic text file using the cipher block chaining mode to form a ciphertext file, which will serve as the input of the file download module;
[0039] The identity authentication module is used to verify the manufacturer serial number of the receiving device and the receiving device information; it will serve as the input of the file download module;
[0040] The file download module is used to receive the ciphertext file downloaded by the device and used as the input of the steganographic file processing module;
[0041] The stego file processing module is used to decrypt the ciphertext file to form plaintext; the stego file processing module is further composed of a blockchain decryption area and a stego file decryption area;
[0042] The blockchain decryption zone is used to decrypt the ciphertext file using the cipher block chaining mode to form a steganographic text file, which will serve as the input of the steganographic file decryption zone;
[0043] The stego file decryption area is used to perform probability screening on the stego text file and reversely encode it to restore it into a plain text file;
[0044] Compared with the existing technology, it has the following beneficial effects:
[0045] 1. This invention utilizes the decentralized, tamper-proof, and transparent characteristics of blockchain to enhance the security, integrity, and confidentiality of text steganography in data transmission.
[0046] 2. The present invention decrypts the stego file through the stego file processing module, and combines the synergistic effect of the blockchain decryption area and the stego file decryption area to achieve complete restoration from the encrypted blockchain file to the plaintext information, effectively improving the security of stego transmission and data integrity.
[0047] 3. The present invention conducts systematic testing and continuous verification of the entire process of the information transmission system. The results show that the system has achieved effective protection in all key links of covert information transmission, which not only fully enhances the security of data transmission, but also improves the concealment and provides more comprehensive protection for the transmission of sensitive information. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 Schematic diagram of the method flow of the present invention;
[0049] Figure 2 Schematic diagram of the system flow of the present invention;
[0050] Figure 3 It is composed of the steganographic file processing module of the present invention;
[0051] Figure 4A test chart for information encryption and decryption. DETAILED DESCRIPTION
[0052] In order to better illustrate the purpose and advantages of the present invention, the following is a further description of the invention in conjunction with the accompanying drawings and examples. It should be noted that the implementation of the present invention is not limited to the following embodiments, and any form of modification or change made to the present invention will fall within the scope of protection of the present invention.
[0053] Example
[0054] Sensitive data is transmitted in a decentralized network environment, and both the transmitting party and the receiving party use the system of the present invention to encrypt, transmit and decrypt information.
[0055] like Figure 1 As shown, a text steganographic information transmission method based on blockchain in this embodiment includes the following steps:
[0056] Step 1: Generative text steganography is used to perform probabilistic coding and screening on the text information to be transmitted to generate a steganographic text file;
[0057] Step 1.1: Construct a probability distribution for selecting the text to be transmitted;
[0058] Step 1.2: Use probability coding to perform probability distribution screening on the text information to be transmitted;
[0059] Step 1.3: Generate context from the bit stream filtered by the probability distribution in an iterative loop to form a steganographic text file;
[0060] In the embodiment, the information to be transmitted is "This is a secret message." The probabilistic coding screening adopts Neural Linguistic Steganography (NLS) generative text steganography method for encryption to obtain the steganographic text "The number of Americans who identify as minorities rose by 4 points during the last recession - but they still held steady at 12.4 million. In 2012-13, that," and stores it in a txt file to form a steganographic text file;
[0061] Step 2: Use the cipher block chaining mode to encrypt the stego text file in fixed-length segments to form a ciphertext file;
[0062] Step 2.1: Generate a random fixed-length byte initialization vector (IV) using Cipher Block Chaining (CBC) mode.
[0063] Step 2.2: Split the steganographic text file into fixed-length bytes to obtain ciphertext blocks;
[0064] Step 2.2.1: Split the steganographic text file into multiples of the fixed-length bytes to obtain the initial steganographic text file blocks;
[0065] Step 2.2.2: When the initial stegotext file block is an integer multiple of the fixed length, align the end of the initial stegotext file block with bytes that are an integer multiple of the fixed length.
[0066] Step 2.2.3: When the initial stegotext file block is not an integer multiple of the fixed-length bytes, obtain the difference t between the last initial stegotext file block and the fixed-length bytes, and pad the end of the initial stegotext file block with bytes that are multiples of t;
[0067] Step 2.2.4: Execute steps 2.2.1 to 2.2.3 in an iterative loop until the segmentation of the steganographic text file is completed;
[0068] Step 2.2.5: Concatenate the aligned stegotext file blocks end to end to form a ciphertext block;
[0069] Step 2.3: Pre-join the fixed-length byte initialization vector and the ciphertext block to form a ciphertext file;
[0070] Step 2.4: Place the initialization vector generated in step 2.3 before the sequentially concatenated ciphertext blocks to form a ciphertext file.
[0071] In the embodiment, the stego text file is segmented into 128-bit bytes by multiples of fixed-length bytes. A 128-bit initialization vector is randomly generated from a stego text file of 159 bytes through the CBC mode and the file is fixed-length segmented by 128 bytes. The end of the first stego text file block is 128 bytes and 16 0x10 bytes are added. For the last text stego text file block, a difference filling method is adopted, that is, 97 values of 0x61 bytes are used to fill the end to achieve data alignment. Then, the beginning and end of each block are spliced into a ciphertext block through a loop iteration method, and the randomly generated 128-bit initialization vector is merged with the front of the ciphertext block and written into the blockchain to successfully generate a ciphertext file.
[0072] Step 3: Store the queued encrypted file, manufacturer serial number, and receiving device information in the blockchain;
[0073] Step 3.1: Upload the receiving device’s MAC address to the blockchain to form the manufacturer’s serial number;
[0074] Step 3.2: Verify and bind the authorized user information and manufacturer serial number and upload them to the blockchain to form the receiving device information;
[0075] In the embodiment, the authorized user information includes information such as name, phone number, and manufacturer serial number. The authorized user information and the manufacturer serial number are verified and bound and uploaded to the blockchain to form the receiving device information.
[0076] Step 4: When the receiving device receives the file, the manufacturer's serial number is used to match and verify the receiving device information;
[0077] Step 4.1: When the verification matches, jump to step 5;
[0078] Step 4.2: When the verification match is inconsistent, repeat step 4;
[0079] Step 5: Download the verified ciphertext file to the receiving device and decrypt it using the cipher block chaining mode to form a steganographic text file;
[0080] Step 5.1: Use the cipher block chaining mode to obtain the fixed-length byte initialization vector of the ciphertext file;
[0081] Step 5.2: Remove the fixed-length byte initialization vector and padding alignment from the ciphertext file to form a steganographic text file;
[0082] In the embodiment, the first 128 bits of the ciphertext file are removed, and the last 16 bytes of every 144 bytes of the remaining portion are removed. The last byte of the portion less than 128 bytes is read as 0x61, and the last 97 bytes are removed to form a 159-byte steganographic text file.
[0083] Step 6: Decrypt the steganographic text file to generate a plaintext file;
[0084] Step 6.1: Use probability distribution screening to restore the steganographic text file to form a bit stream to be decrypted;
[0085] Step 6.2: Reverse encode the decrypted bit stream to form a plaintext file;
[0086] In the embodiment, the reverse encoding is reverse decrypted using the NLS generative text steganography method, and the decrypted steganographic information is "This is a secret message."
[0087] like Figure 2As shown, a text steganographic information transmission system based on blockchain in this embodiment is used to implement the above method. The present invention discloses a text steganographic information transmission system based on blockchain, including a steganographic module, an upload module, a blockchain encryption module, an identity authentication module, a file download module, and a steganographic file processing module;
[0088] The steganographic module is used to encrypt the text information to be transmitted to form a steganographic text file; and transmit the steganographic text file to the file upload module;
[0089] The file upload module is used to upload the steganographic text file to the blockchain encryption module;
[0090] The blockchain encryption module encrypts the steganographic text file using the cipher block chaining mode to form a ciphertext file, which will serve as the input of the file download module;
[0091] The identity authentication module is used to verify the manufacturer serial number of the receiving device and the receiving device information; it will serve as the input of the file download module;
[0092] The file download module is used to receive the ciphertext file downloaded by the device and used as the input of the steganographic file processing module;
[0093] The stego file processing module is used to decrypt the ciphertext file to form plaintext; the stego file processing module is further composed of a blockchain decryption area and a stego file decryption area;
[0094] The blockchain decryption zone is used to decrypt the ciphertext file using the cipher block chaining mode to form a steganographic text file, which will serve as the input of the steganographic file decryption zone;
[0095] The stego file decryption area is used to perform probability screening on the stego text file and reversely encode it to restore it into a plain text file.
[0096] like Figure 3 and Figure 4 As shown, in order to encrypt the transmitted text information and test its decryption, it is necessary to embed secret information in the seemingly normal text, and then restore the complete hidden message through a specific decryption method, which can improve the confidentiality and security of information transmission.
[0097] The above specific description further illustrates the purpose, technical solutions and beneficial effects of the invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A text steganographic information transmission method based on blockchain, characterized by: The following steps are included: Step 1: Generative text steganography is used to perform probabilistic coding and screening on the text information to be transmitted to generate a steganographic text file; Step 1.1: Construct a probability distribution for selecting the text to be transmitted; Step 1.2: Use probability coding to perform probability distribution screening on the text information to be transmitted; Step 1.3: Generate context from the bit stream filtered by the probability distribution in an iterative loop to form a steganographic text file; Step 2: Use the cipher block chaining mode to encrypt the stego text file in fixed-length segments to form a ciphertext file; Step 2.1: Generate a random fixed-length byte initialization vector IV using cipher block chaining mode; Step 2.2: Split the steganographic text file into fixed-length bytes to obtain ciphertext blocks; Step 2.3: Pre-join the fixed-length byte initialization vector and the ciphertext block to form a ciphertext file; Step 2.4: Place the initialization vector generated in step 2.3 before the ciphertext blocks that have been sequentially concatenated to form a ciphertext file; Step 3: Store the queued encrypted file, manufacturer serial number, and receiving device information in the blockchain; Step 3.1: Upload the receiving device’s MAC address to the blockchain to form the manufacturer’s serial number; Step 3.2: Verify and bind the authorized user information and manufacturer serial number and upload them to the blockchain to form the receiving device information; Step 4: When the receiving device receives the file, the manufacturer's serial number is used to match and verify the receiving device information; Step 5: Download the verified ciphertext file to the receiving device and decrypt it using the cipher block chaining mode to form a steganographic text file; Step 6: Decrypt the steganographic text file to generate a plaintext file.
2. The method for transmitting text steganographic information based on blockchain according to claim 1, characterized in that: Step 4 is implemented as follows: Step 4.1: When the verification matches, jump to step 5; Step 4.2: If the verification matches are inconsistent, repeat step 4.
3. The method for transmitting text steganographic information based on blockchain according to claim 1, characterized in that: The implementation method of step 5 is: Step 5.1: Use the cipher block chaining mode to obtain the fixed-length byte initialization vector of the ciphertext file; Step 5.2: Remove the fixed-length byte initialization vector and padding alignment from the ciphertext file to form a steganographic text file.
4. The method for transmitting text steganographic information based on blockchain according to claim 1, wherein: Step 6 is implemented as follows: Step 6.1: Use probability distribution screening to restore the steganographic text file to form a bit stream to be decrypted; Step 6.2: Reverse encode the bit stream to be decrypted to form a plaintext file.
5. The method for transmitting text steganographic information based on blockchain according to claim 1, wherein: The implementation method of step 2.2 is: Step 2.2.1: Split the steganographic text file into multiples of the fixed-length bytes to obtain the initial steganographic text file blocks; Step 2.2.2: When the initial stegotext file block is an integer multiple of the fixed length, align the end of the initial stegotext file block with bytes that are an integer multiple of the fixed length. Step 2.2.3: When the initial stegotext file block is not an integer multiple of the fixed-length bytes, obtain the difference t between the last initial stegotext file block and the fixed-length bytes, and pad the end of the initial stegotext file block with bytes that are multiples of t; Step 2.2.4: Execute steps 2.2.1 to 2.2.3 in an iterative loop until the segmentation of the steganographic text file is completed; Step 2.2.5: Concatenate the aligned steganographic text file blocks end to end to form a ciphertext block.
6. A blockchain-based text steganographic information transmission system implementing the method of claim 1, characterized in that: Including steganographic module, upload module, blockchain encryption module, identity authentication module, file download module, and steganographic file processing module; The steganographic module is used to encrypt the text information to be transmitted to form a steganographic text file; and transmit the steganographic text file to the file upload module; The file upload module is used to upload the steganographic text file to the blockchain encryption module; The blockchain encryption module encrypts the steganographic text file using a cipher block chaining mode to form a ciphertext file; Will serve as input to the file download module; The identity authentication module is used to verify the manufacturer serial number of the receiving device and the receiving device information; it will serve as the input of the file download module; The file download module is used to receive the ciphertext file downloaded by the device and used as the input of the steganographic file processing module; The steganalysis file processing module is used to decrypt the ciphertext file to form plaintext.
7. A text steganographic information transmission system based on blockchain according to claim 6, characterized in that: The stego file processing module consists of a blockchain decryption area and a stego file decryption area; The blockchain decryption zone is used to decrypt the ciphertext file using the cipher block chaining mode to form a steganographic text file, which will serve as the input of the steganographic file decryption zone; The stego file decryption area is used to perform probability screening on the stego text file and reversely encode it to restore it into a plain text file.
8. The method for transmitting text steganographic information based on blockchain according to claim 1, characterized in that: The probabilistic coding screening adopts the NLS generative text steganography method for encryption.
9. The method for transmitting text steganographic information based on blockchain according to claim 1, wherein: The steganographic text file is divided into multiples of fixed-length bytes using 128-bit bytes.
10. The method for transmitting text steganographic information based on blockchain according to claim 1, wherein: The reverse encoding is reverse decrypted using the NLS generative text steganography method.
Citation Information
Patent Citations
Generative block chain covert communication method based on Markov chain
CN114978756A
Block chain covert communication method based on generative steganography network and image double steganography
CN116527278A
Blockchain Implemented Data Hiding Solutions For Improvements In Secure Communication, Storage And Transmission Of Data
US20230038922A1