Privacy calculation method and system for improving data transmission security
By introducing the data obfuscation module, transmission module and extended encryption algorithm module into the data transmission system, generating salt values and secret keys, and using irreversible encryption algorithms, the problem of security risks in data transmission is solved and efficient and reliable data protection is achieved. , to prevent hacker attacks and privacy leaks.
Patent Information
- Application Number
- CN202411116875.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies have security risks during data transmission, lack sufficient encryption strength or effective identity verification mechanisms, and are susceptible to hacker attacks and illegal access, leading to leakage of user privacy.
A privacy computing system is adopted, including a data obfuscation module, a data transmission module and an extended encryption algorithm module, to ensure data obfuscation and integrity by generating salt values and secret keys, using an irreversible encryption algorithm to encrypt request parameters and results, and through Increase the length of the secret key, the number of rounds, and modify the round function to improve encryption strength, and combine public key encryption technology for key transmission.
Effectively prevent data leakage and illegal access, improve data transmission security and attack resistance, ensure the privacy security of users and organizations, and provide flexible privacy protection policies and efficient encryption processes.
Smart Images

Figure CN118842584A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a privacy computing method and system for improving data transmission security. Background Art
[0002] At present, the widespread application of data transmission has penetrated into every corner of society. From personal social entertainment to corporate business operations, data transmission plays a vital role. However, with the explosive growth of data volume, the issue of data privacy protection in data transmission has gradually become prominent, especially in operator networks. The transmission security of sensitive data such as user personal information and communication records has become the focus of industry and public attention.
[0003] However, the data transmission methods in the prior art often have many security risks during the data transmission process, lack sufficient encryption strength or lack effective identity authentication mechanism, and are vulnerable to hacker attacks and illegal access, thereby leading to user privacy leakage. Summary of the invention
[0004] The purpose of the present invention is to provide a privacy computing method and system for improving the security of data transmission, aiming to solve the technical problems in the prior art that there are often many security risks in the data transmission process, lack of sufficient encryption strength or lack of effective identity authentication mechanism, and are vulnerable to hacker attacks and illegal access, thereby leading to user privacy leakage.
[0005] To achieve the above-mentioned purpose, the present invention adopts a privacy computing system for improving data transmission security, including a data obfuscation module, a data transmission module and an extended encryption algorithm module. The data obfuscation module generates a salt value and a secret key to ensure the obfuscation and integrity of the data, so that attackers cannot easily predict the salt value or crack the secret key. The data transmission module is responsible for ensuring the integrity and security of the data transmission process, encrypting the request parameters and request results, and adopting an irreversible encryption algorithm to prevent data tampering and leakage. The extended encryption algorithm module increases the encryption strength by increasing the secret key length, the number of rounds and modifying the round function, thereby enhancing the data protection capability.
[0006] The present invention also provides a privacy computing method for improving data transmission security, which is applied to a privacy computing system for improving data transmission security as described above, and comprises the following steps:
[0007] First, transfer the plaintext data to sha256;
[0008] The data obfuscation module uses a custom AES extended algorithm to update the salt value of the plaintext data in sha256 from time to time, generates a salt value and a secret key, and outputs it as ciphertext;
[0009] The output ciphertext performs ciphertext hash collision;
[0010] Finally, the plaintext is output, ending the privacy calculation.
[0011] Among them, the AES extension algorithm includes the following steps:
[0012] Step 1: Increase the key length from 256 bits to 512 bits;
[0013] Step 2: Increase the number of rounds to 20;
[0014] Step 3: Modify the round function, perform nonlinear transformation and random permutation on the initial S-box in turn, and generate the corresponding inverse S-box;
[0015] Redefine the row shifting method:
[0016] Line 1 remains unchanged;
[0017] Line 2 circularly shifts right by 1 byte;
[0018] Line 3 circularly shifts right 2 bytes;
[0019] Line 4 circularly shifts right 3 bytes;
[0020] Modify the column mixing matrix:
[0021] Define a 4×4 state matrix to represent the input 16 bytes of data;
[0022] Define a new 4×4 column mixing matrix;
[0023] According to the definition of column mixing matrix and multiplication operation in Galois domain.
[0024] Among them, the AES extended algorithm generates different salt values to ensure the randomness of data during transmission, and uses public key encryption technology to encrypt and transmit the key. After receiving the encrypted data, the receiver uses the corresponding private key to decrypt it and restore the original data.
[0025] The beneficial effects of a privacy computing method and system for improving data transmission security of the present invention are:
[0026] 1. Improve system security. The use of advanced encryption algorithms and data obfuscation technology is an important means to ensure the high security of transmitted data. Encryption algorithms and data obfuscation technology can convert data into ciphertext and encrypt and decrypt through keys, effectively preventing middleman attacks and eavesdropping. Data obfuscation technology blurs the data so that even if the data is illegally obtained, its meaning cannot be easily interpreted. The continuous evolution and optimization of encryption algorithms and obfuscation technology make them more resistant to attacks and more secure, able to cope with increasingly complex security threats and attack methods, and effectively prevent data leakage and illegal access, protecting the privacy and data security of users and organizations;
[0027] 2. Improve system flexibility. According to the importance and sensitivity of the data, you can adopt a strategy of dynamically adjusting the salt value and obfuscation algorithm to meet the privacy protection needs in different scenarios. For highly sensitive data, you can increase the complexity of the salt value and the level of the obfuscation algorithm to improve data security. For data of general sensitivity, you can adopt simpler protection measures to reduce the complexity and overhead of the system. You can also adjust the privacy protection strategy according to different application scenarios and legal and regulatory requirements to ensure the compliance and security of data processing. It can effectively respond to changing security threats and privacy needs, and provide users and organizations with more reliable data protection solutions;
[0028] 3. Improve system operability. Software developed based on Java has excellent cross-platform and portability, and can be easily deployed and applied on various operating systems and devices. This flexibility not only provides developers with a broader target market, but also simplifies the maintenance and update process, making software development and deployment more convenient and efficient.
[0029] 4. By improving and enhancing the encryption algorithm, the data can be more efficient and secure during the encryption and transmission process. By combining the extended encryption algorithm module with the data obfuscation module and the data transmission module, a more comprehensive and reliable security system can be built, which can effectively protect data from generation to transmission in all links and ensure the confidentiality, integrity and unpredictability of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 It is the basic structure of the AES extension algorithm of the present invention.
[0032] Figure 2 It is the encryption process diagram of the present invention.
[0033] Figure 3 It is the replacement byte rotation diagram of the present invention.
[0034] Figure 4 It is the row-column conversion diagram of the present invention.
[0035] Figure 5 It is the mixed column transformation diagram of the present invention.
[0036] Figure 6 It is the AddRoundKey conversion diagram of the present invention.
[0037] Figure 7 It is a data transmission flow chart of the present invention. DETAILED DESCRIPTION
[0038] The present invention provides a privacy computing system for improving data transmission security, including a data obfuscation module, a data transmission module and an extended encryption algorithm module. The data obfuscation module generates a salt value and a secret key to ensure the obfuscation and integrity of the data, so that attackers cannot easily predict the salt value or crack the secret key. The data transmission module is responsible for ensuring the integrity and security of the data transmission process, encrypting request parameters and request results, and adopting an irreversible encryption algorithm to prevent data from being tampered with and leaked. The extended encryption algorithm module increases the encryption strength by increasing the secret key length, the number of rounds and modifying the round function, thereby enhancing the data protection capability.
[0039] See also Figures 1 to 7 The present invention also provides a privacy computing method for improving data transmission security, which is applied to a privacy computing system for improving data transmission security as described above, and includes the following steps:
[0040] First, transfer the plaintext data to sha256;
[0041] The data obfuscation module uses a custom AES extended algorithm to update the salt value of the plaintext data in sha256 from time to time, generates a salt value and a secret key, and outputs it as ciphertext;
[0042] The output ciphertext performs ciphertext hash collision;
[0043] Finally, the plaintext is output, ending the privacy calculation.
[0044] Furthermore, the AES extension algorithm includes the following steps:
[0045] Step 1: Increase the key length from 256 bits to 512 bits;
[0046] Step 2: Increase the number of rounds to 20;
[0047] Step 3: Modify the round function, perform nonlinear transformation and random permutation on the initial S-box in turn, and generate the corresponding inverse S-box;
[0048] Redefine the row shifting method:
[0049] Line 1 remains unchanged;
[0050] Line 2 circularly shifts right by 1 byte;
[0051] Line 3 circularly shifts right 2 bytes;
[0052] Line 4 circularly shifts right 3 bytes;
[0053] Modify the column mixing matrix:
[0054] Define a 4×4 state matrix to represent the input 16 bytes of data;
[0055] Define a new 4×4 column mixing matrix;
[0056] According to the definition of column mixing matrix and multiplication operation in Galois domain.
[0057] Furthermore, the AES extended algorithm generates different salt values to ensure the randomness of data during transmission, and uses public key encryption technology to encrypt the key for transmission. After receiving the encrypted data, the receiver uses the corresponding private key to decrypt it and restore the original data.
[0058] In this embodiment,
[0059] The transmitted data is encrypted using the AES extended algorithm to ensure that the data cannot be read even if it is intercepted during transmission. Each message uses a different salt value and is calculated using a key, making it difficult for attackers to easily predict the salt value or crack the key, ensuring the obfuscation and irreversibility of the encrypted data.
[0060] The basic structure of the AES extension algorithm. The AES extension algorithm is an iterative substitution of the Feistel cipher. It is based on two common techniques to encrypt and decrypt data, namely substitution and permutation networks. Substitution and permutation networks are mathematical transports performed in block cipher algorithms. The AES extension algorithm is able to process 128 bits (16 bytes) as a fixed plain text block size. 16 bytes are represented by a 4×4 matrix. The AES extension algorithm operates on a byte matrix. In addition, another key feature of the AES extension algorithm is the number of rounds, which depends on the length of the key. The AES extension algorithm uses three different key sizes to encrypt and decrypt data. The key size determines the number of rounds.
[0061] The AES extended algorithm uses a specific structure to encrypt data to provide the best security. Data encryption relies on several rounds. Each round consists of four sub-processes. Each round includes the following four steps to encrypt 128 bits;
[0062] (1) Replace Byte Rotation: The first stage of each round starts with SubBytes transformation, which relies on nonlinearity to replace one byte in the state with another byte. According to the diffusion and obfuscation principles designed by the cryptographic algorithm, it plays an important role in achieving higher security;
[0063] (2) Row-column rotation: The next step after the subbytes performed on the state is the row-column conversion, which cyclically shifts the state bytes of the state in each row to the left instead of the row number 0. In this process, the bytes with row number 0 remain unchanged and no permutation is performed. In the first row, only one byte is cyclically shifted to the left, the second row is shifted to the left by two bytes, and the last row is shifted to the left by three bytes. The size of the new state does not change, maintaining the same original size of 16 bytes, but the position of the bytes is changed;
[0064] (3) Mixed column transformation: Each byte in a row of the matrix transformation is multiplied by each value (byte) in the state column. The result of the multiplication operation is used with XOR to generate four new bytes for the next state. The size of the state is not changed and remains the original size 4x4.
[0065] (4) AddRoundKey transformation: AddRoundKey is the most important stage in the AES extension algorithm. Both the key and the input data are structured in the form of a 4x4 byte matrix. AddRoundKey can provide more security during the encryption of data. This operation is based on the relationship between the creation key and the ciphertext. The AddRoundKey output is completely dependent on the key indicated by the user.
[0066] The data transmission module includes the following processing steps:
[0067] Generate salt value: The system generates a sufficiently long salt value through the AES extended algorithm encryption and secure random number generator, usually a random bit sequence of at least 128 bits, to ensure the randomness and unpredictability of the salt value, making it impossible for attackers to obtain the salt value by speculation or cracking, thereby enhancing the security of the encryption process;
[0068] Key preparation: The system uses a secure key generation algorithm to generate keys to ensure key security and confidentiality. Key selection should be based on secure cryptographic principles and only authorized users or systems can access them. The length and complexity of the key should be high enough to prevent brute force cracking and other attacks.
[0069] Message preparation: Before authentication, the system performs necessary preparations on the message to be authenticated, ensuring the integrity and reliability of the message so that the authentication process can proceed correctly;
[0070] Salting: The system combines the generated salt value with the message, usually appending the salt value to the beginning or end of the message to form a new input string. This salting method ensures that each message has a unique input, increasing the diversity and security of the password hash;
[0071] HMAC-SHA256 calculation: The system uses the salted input string as the message, combined with the pre-prepared key and the SHA-256 hash function to calculate the HMAC value. The HMAC algorithm provides a secure message authentication code that can effectively prevent the message from being tampered with or forged;
[0072] Authentication verification: The generated HMAC value is compared with the expected HMAC value. If the two are equal, it means that the message has not been tampered with and the authentication is successful. Otherwise, it may have been modified and the authentication fails, which ensures the integrity and reliability of the message and effectively prevents tampering attacks.
[0073] Introducing salt value: By introducing salt value, the security of HMAC-SHA256 is enhanced. Each message uses a different salt value and is calculated in combination with the key, making it difficult for attackers to predict the salt value or crack the key. This effectively prevents common attacks against HMAC, such as collision attacks and prophecy attacks, thereby improving the security and reliability of the encryption process.
[0074] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A privacy computing system for improving data transmission security, characterized in that: It includes a data obfuscation module, a data transmission module and an extended encryption algorithm module. The data obfuscation module generates a salt value and a secret key to ensure the obfuscation and integrity of the data, so that attackers cannot easily predict the salt value or crack the secret key. The data transmission module is responsible for ensuring the integrity and security of the data transmission process, encrypting the request parameters and request results, and adopting an irreversible encryption algorithm to prevent data tampering and leakage. The extended encryption algorithm module increases the encryption strength by increasing the secret key length, the number of rounds and modifying the round function, thereby enhancing the data protection capability.
2. A privacy computing method for improving data transmission security, applied to a privacy computing system for improving data transmission security as claimed in claim 1, characterized in that: The steps include: First, transfer the plaintext data to sha256; The data obfuscation module uses a custom AES extended algorithm to update the salt value of the plaintext data in sha256 from time to time, generates a salt value and a secret key, and outputs it as ciphertext; The output ciphertext performs ciphertext hash collision; Finally, the plaintext is output, ending the privacy calculation.
3. A privacy computing method for improving data transmission security as claimed in claim 2, characterized in that: The AES extension algorithm includes the following steps: Step 1: Increase the key length from 256 bits to 512 bits; Step 2: Increase the number of rounds to 20; Step 3: Modify the round function, perform nonlinear transformation and random permutation on the initial S-box in turn, and generate the corresponding inverse S-box; Redefine the row shifting method: Line 1 remains unchanged; Line 2 circularly shifts right by 1 byte; Line 3 circularly shifts right 2 bytes; Line 4 circularly shifts right 3 bytes; Modify the column mixing matrix: Define a 4×4 state matrix to represent the input 16 bytes of data; Define a new 4×4 column mixing matrix; According to the definition of column mixing matrix and multiplication operation in Galois domain.
4. A privacy computing method for improving data transmission security as claimed in claim 2, characterized in that: The AES extended algorithm generates different salt values to ensure the randomness of data during transmission. It uses public key encryption technology to encrypt the key for transmission. After receiving the encrypted data, the receiver uses the corresponding private key to decrypt it and restore the original data.
Citation Information
Patent Citations
Data encryption method and device, computer equipment and storage medium
CN110351077A
Electronic commerce data processing method
CN117235796A
DES encryption method
CN117978365A
Architecture and instruction set for implementing advanced encryption standard (AES)
US20080159526A1
Cited By
1394B high-speed interface data encryption and confusion method for airborne avionics system
CN119276467A
