An intelligent safety management system for engineering texts

By introducing encoding matrix construction, division conversion, encryption feature extraction and dual encryption technologies into text encryption technology, the problem of low security of existing text encryption technology is solved, and higher encryption security and complexity is achieved, which significantly improves the difficulty of cracking.

CN119622783BActive Publication Date: 2025-05-02SICHUAN VOCATIONAL & TECHN COLLEGE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510167745.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-05-02
Estimated Expiration
2045-02-17

AI Technical Summary

Technical Problem

The existing text encryption technology has the problem of low encryption security, high computational complexity, low encryption efficiency, and is vulnerable to brute-force cracking and statistical analysis attacks.

Method used

Using an intelligent security management system for engineering text, through encoding matrix construction, division conversion, encrypted feature extraction and dual encryption technologies, row-encrypted feature vectors and column-encrypted feature vectors are constructed, and dual encryption is performed to improve encryption security.

Benefits of technology

It improves encryption security, increases the complexity of encryption, makes the encrypted data appear more random in statistical analysis, reduces the possibility of attackers obtaining information through statistical analysis, and introduces multi-level protection, which significantly increases the difficulty of cracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119622783B_ABST
    Figure CN119622783B_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent security management system for engineering texts, belonging to the technical field of data security. The invention constructs a character encoding matrix according to character encoding conditions, and constructs a row value vector and a column value vector according to the character encoding matrix corresponding to the text, reflecting the numerical arrangement of the text, extracts numerical eigenvalues ​​from the row value vector and the column value vector respectively, constructs a row encryption eigenvector and a column encryption eigenvector, makes the encryption amount related to the structure and arrangement of the characters, improves the encryption security, makes different texts have row encryption eigenvectors and column encryption eigenvectors with different encryption, and then adopts the row encryption eigenvector and the column encryption eigenvector to perform double encryption, further improving the encryption security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data security, and in particular to an intelligent security management system for engineering texts. Background Art

[0002] In the current digital age, encryption protection of engineering text data has become an important topic in the field of information security. With the popularization of the Internet and the frequent data exchange, traditional text encryption technology faces many challenges. Existing text encryption methods mainly rely on traditional symmetric encryption and asymmetric encryption algorithms, which have problems such as high computational complexity and low encryption efficiency in practical applications. At the same time, traditional single encryption methods are vulnerable to brute force and statistical analysis attacks, and security is difficult to be effectively guaranteed. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides an intelligent security management system for engineering texts, which solves the problem of low encryption security in the prior art text encryption technology.

[0004] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: an intelligent security management system for engineering texts, comprising: a coding matrix construction unit, a first base conversion unit, a second base conversion unit, an encryption feature extraction unit and a double encryption unit;

[0005] The coding matrix construction unit is used to encode the text to be encrypted in the engineering text according to UTF-16, and form a word coding matrix with a binary code sequence belonging to a word;

[0006] The first system conversion unit is used to convert the binary system of each row element in the word encoding matrix to decimal system to obtain 4 row values, extract the same row value of each word in the text, and form a row value vector;

[0007] The second binary conversion unit is used to convert the binary system of each column element in the word encoding matrix into a decimal system to obtain four column values, extract the same column value of each word in the text, and form a column value vector;

[0008] The encrypted feature extraction unit is used to extract numerical feature values ​​from the row numerical vector and the column numerical vector respectively, and construct a row encrypted feature vector and a column encrypted feature vector;

[0009] The double encryption unit is used to perform double encryption using a row encryption feature vector and a column encryption feature vector to obtain an encrypted text.

[0010] Furthermore, the construction process of the coding matrix construction unit includes: encoding the text according to UTF-16 to obtain a binary coding sequence for each character, dividing the binary coding sequence for each character into 4 groups, wherein each group contains 4 binary coding values, and taking one group as a row vector to form a character coding matrix.

[0011] Furthermore, the construction process of the first base conversion unit includes: converting the elements of the i-th row in the character encoding matrix from binary to decimal to obtain the i-th row value, extracting the i-th row value of each character in the text to form the i-th row value vector, where the value range of i is a positive integer from 1 to 4;

[0012] The construction process of the binary conversion unit includes: converting the i-th column elements in the character encoding matrix from binary to decimal to obtain the i-th column value, extracting the i-th column value of each character in the text, and forming the i-th column value vector.

[0013] Further, the encryption feature extraction unit includes: a row encryption feature extraction subunit and a column encryption feature extraction subunit;

[0014] The row encryption feature extraction subunit is used to calculate the row value feature value for each row value in the row value vector, and construct the row encryption feature vector by taking each row value feature value as an element;

[0015] The column encryption feature extraction subunit is used to calculate the column value feature value for each column value in the column value vector, and construct the column encryption feature vector using each column value feature value as an element.

[0016] Furthermore, the formula for calculating the row numerical feature value in the row encryption feature extraction subunit is:

[0017] , ,in, is the nth row numerical eigenvalue, θ l,n is the neighborhood deviation value of the nth row value, x l,n is the nth row value in the row value vector, is the mean of the row values ​​in the row value vector, x l,n,k is the kth row value in the neighborhood of the nth row value in the row value vector, is the mean of multiple row values ​​within the neighborhood of the nth row value, n and k are positive integers, K is the length of the neighborhood range, is rounded down, || is the absolute value operation, and e is a natural constant;

[0018] The formula for calculating the column numerical feature value in the column encryption feature extraction subunit is:

[0019] , ,in, is the nth column numerical eigenvalue, θ c,n is the neighborhood deviation value of the nth column value, x c,n is the nth column value in the column value vector, is the mean of the column values ​​in the column value vector, x c,n,k is the kth column value in the neighborhood of the nth column value in the column value vector, It is the mean of multiple column values ​​within the neighborhood of the nth column value.

[0020] Further, the dual encryption unit includes: a conversion subunit, a vector generation subunit to be encrypted, a first key generation subunit, a second key generation subunit, a first encryption subunit, a second encryption subunit and a fusion subunit;

[0021] The conversion subunit is used to perform XOR processing between rows and columns on the word coding matrix to obtain a conversion matrix;

[0022] The to-be-encrypted vector generating subunit is used to convert the binary system of each row element in the conversion matrix into a decimal system to obtain four to-be-encrypted values, and the four to-be-encrypted values ​​constitute the to-be-encrypted vector;

[0023] The first key generation subunit is used to extract the r-th row numerical eigenvalue from the four row encryption eigenvectors to form the r-th first key vector, where r is a positive integer;

[0024] The second key generation subunit is used to extract the rth column numerical eigenvalue from the four column encryption eigenvectors to form the rth second key vector;

[0025] The first encryption subunit is used to encrypt the rth vector to be encrypted using the rth first key vector to obtain the rth first encrypted vector;

[0026] The second encryption subunit is used to encrypt the rth vector to be encrypted using the rth second key vector to obtain the rth second encrypted vector;

[0027] The fusion subunit is used to fuse the first encryption vector and the second encryption vector to obtain word encryption information, and all word encryption information constitutes encrypted text.

[0028] Further, the conversion subunit includes: a first row XOR processing module, a second row XOR processing module, a first column XOR processing module, a second column XOR processing module and a matrix generation module;

[0029] The first row XOR processing module is used to perform bitwise XOR on the first row and the second row in the word encoding matrix to obtain a first transformation vector;

[0030] The second row XOR processing module is used to perform bitwise XOR on the third row and the fourth row in the word encoding matrix to obtain a second transformation vector;

[0031] The first column XOR processing module is used to perform bitwise XOR on the first column and the second column in the word encoding matrix to obtain a third transformation vector;

[0032] The second column XOR processing module is used to perform bitwise XOR on the third column and the fourth column in the word encoding matrix to obtain a fourth transformation vector;

[0033] The matrix generation module is used to form a conversion matrix using the first transformation vector, the second transformation vector, the third transformation vector and the fourth transformation vector.

[0034] Furthermore, the formula of the first encryption subunit is:

[0035] , where E 1,r is the rth first encrypted vector, For element-wise multiplication, X r is the rth vector to be encrypted, P 1,r is the rth first key vector.

[0036] Furthermore, the formula of the second encryption subunit is:

[0037] , where E 2,r is the rth second encryption vector, P 2,r is the rth second key vector, For element-wise multiplication, X r is the rth vector to be encrypted.

[0038] Furthermore, the formula of the fusion subunit is:

[0039] , where E is the encrypted information, E 1,r is the rth first encrypted vector, E 2,r is the rth second encryption vector.

[0040] The beneficial effects of the present invention are:

[0041] 1. The present invention constructs a character coding matrix according to the character coding situation, and constructs a row value vector and a column value vector according to the character coding matrix corresponding to the text, which reflects the numerical arrangement of the text, extracts numerical eigenvalues ​​from the row value vector and the column value vector respectively, and constructs a row encryption feature vector and a column encryption feature vector, so that the encryption amount is related to the structure and arrangement of the character, thereby improving the encryption security. Different texts have row encryption feature vectors and column encryption feature vectors with different encryption, and then the row encryption feature vector and the column encryption feature vector are used for double encryption, thereby further improving the encryption security.

[0042] 2. The construction of row encryption feature vectors and column encryption feature vectors is based on the intrinsic characteristics of the text, which increases the complexity of encryption. This method makes the encrypted data more random in statistical analysis, reducing the possibility of attackers obtaining information through statistical analysis.

[0043] 3. Through the double encryption of row encryption feature vectors and column encryption feature vectors, multi-level protection is introduced in the encryption process. Even if the attacker successfully cracks one layer of encryption, he still needs to face another layer of protection, which significantly increases the difficulty of cracking. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 The system block diagram of an intelligent safety management system for engineering texts. DETAILED DESCRIPTION

[0045] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0046] like Figure 1 As shown, an intelligent security management system for engineering texts includes: a coding matrix construction unit, a first base conversion unit, a second base conversion unit, an encryption feature extraction unit and a double encryption unit;

[0047] The coding matrix construction unit is used to encode the text to be encrypted in the engineering text according to UTF-16, and form a word coding matrix with a binary code sequence belonging to a word;

[0048] The first system conversion unit is used to convert the binary system of each row element in the word encoding matrix to decimal system to obtain 4 row values, extract the same row value of each word in the text, and form a row value vector;

[0049] The second binary conversion unit is used to convert each column element in the word coding matrix from binary to decimal, obtain 4 column values, extract the same column values of each word in the text, and form a column value vector;

[0050] The encryption feature extraction unit is used to extract numerical feature values from the row value vector and the column value vector respectively, and construct a row encryption feature vector and a column encryption feature vector;

[0051] The double encryption unit is used to perform double encryption using the row encryption feature vector and the column encryption feature vector to obtain an encrypted text.

[0052] The construction process of the coding matrix construction unit includes: encoding the text in UTF-16 to obtain a binary coding sequence for each word, dividing the binary coding sequence of each word into 4 groups, where each group contains 4 binary coding values, and using one group as a row vector to form a word coding matrix.

[0053] The construction process of the first binary conversion unit includes: converting the elements in the i-th row of the word coding matrix from binary to decimal to obtain the i-th row value, extracting the i-th row value of each word in the text, and forming the i-th row value vector, where the value range of i is a positive integer from 1 to 4;

[0054] The construction process of the second binary conversion unit includes: converting the elements in the i-th column of the word coding matrix from binary to decimal to obtain the i-th column value, extracting the i-th column value of each word in the text, and forming the i-th column value vector.

[0055] In the present invention, the binary coding sequence contains 16 bits. For example, the UTF-16 encoding of the character "好" is: 0101 10010111 1101. Divide the 16-bit binary number into a 4×4 matrix: , convert the binary numbers in each row of the matrix to decimal. The first row: 0101→5, the second row: 1001→9, the third row: 0111→7, the fourth row: 1101→13. Convert the binary numbers in each column of the matrix to decimal. The first column: 0101→5, the second column: 1011→11, the third column: 0010→2, the fourth column: 1111→15.

[0056] Suppose a text contains 10 words, each word contains 4 row values ​​and 4 column values, extract the first row value of each word in the text to form the first row value vector; extract the second row value of each word in the text to form the second row value vector; extract the third row value of each word in the text to form the third row value vector; extract the fourth row value of each word in the text to form the fourth row value vector; extract the first column value of each word in the text to form the first column value vector; extract the second column value of each word in the text to form the second column value vector; extract the third column value of each word in the text to form the third column value vector; extract the fourth column value of each word in the text to form the fourth column value vector.

[0057] In the present invention, the number of row value vectors and column value vectors is 4.

[0058] The encryption feature extraction unit includes: a row encryption feature extraction subunit and a column encryption feature extraction subunit;

[0059] The row encryption feature extraction subunit is used to calculate the row value feature value for each row value in the row value vector, and construct the row encryption feature vector by taking each row value feature value as an element;

[0060] The column encryption feature extraction subunit is used to calculate the column value feature value for each column value in the column value vector, and construct the column encryption feature vector using each column value feature value as an element.

[0061] In this embodiment, the formula for calculating the row numerical feature value in the row encryption feature extraction subunit is:

[0062] , ,in, is the nth row numerical eigenvalue, θ l,n is the neighborhood deviation value of the nth row value, x l,n is the nth row value in the row value vector, is the mean of the row values ​​in the row value vector, x l,n,k is the nth row value x in the row value vector l,n The kth row value in the neighborhood, The value x of the nth row l,n The mean of multiple row values ​​within the neighborhood range, n and k are positive integers, K is the length of the neighborhood range, is rounded down, || is the absolute value operation, and e is a natural constant;

[0063] In this embodiment, the formula for calculating the column numerical feature value in the column encryption feature extraction subunit is:

[0064] , ,in, is the nth column numerical eigenvalue, θ c,n is the neighborhood deviation value of the nth column value, x c,n is the nth column value in the column value vector, is the mean of the column values ​​in the column value vector, x c,n,k is the nth column value x in the column value vector c,n The kth column value in the neighborhood, is the nth column value x c,n The mean of multiple column values ​​within a neighborhood.

[0065] In the present invention, the length of the neighborhood range can be set to 3, 4 or 5, etc., and the neighborhood range includes x l,n or x c,n In a row value vector or column value vector, according to the value deviation in the neighborhood, an exponential function is used to enhance the deviation. At the same time, the mean of the row value or the mean of the column value is introduced, so that the row value feature value or the column value feature value is related to the structure of the text itself. Different text structures have different row value feature values ​​or column value feature values. Through the double encryption feature extraction of rows and columns, the complexity of encryption is increased, making it more difficult for attackers to obtain the original data through brute force cracking or statistical analysis.

[0066] The present invention adopts neighborhood deviation and dynamic feature extraction, so that the encryption result has higher randomness, reduces the risk of being cracked, and especially significantly enhances the ability to resist statistical analysis attacks.

[0067] The dual encryption unit comprises: a conversion subunit, a vector generation subunit to be encrypted, a first key generation subunit, a second key generation subunit, a first encryption subunit, a second encryption subunit and a fusion subunit;

[0068] The conversion subunit is used to perform XOR processing between rows and columns on the word coding matrix to obtain a conversion matrix;

[0069] The to-be-encrypted vector generating subunit is used to convert the binary system of each row element in the conversion matrix into a decimal system to obtain four to-be-encrypted values, and the four to-be-encrypted values ​​constitute the to-be-encrypted vector;

[0070] The first key generation subunit is used to extract the r-th row numerical eigenvalue from the four row encryption eigenvectors to form the r-th first key vector, where r is a positive integer;

[0071] The second key generation subunit is used to extract the rth column numerical eigenvalue from the four column encryption eigenvectors to form the rth second key vector;

[0072] The first encryption subunit is used to encrypt the rth vector to be encrypted using the rth first key vector to obtain the rth first encrypted vector;

[0073] The second encryption subunit is used to encrypt the rth vector to be encrypted using the rth second key vector to obtain the rth second encrypted vector;

[0074] The fusion subunit is used to fuse the first encryption vector and the second encryption vector to obtain word encryption information, and all word encryption information constitutes encrypted text.

[0075] In the present invention, the row values ​​contained in a row value vector and the column values ​​contained in a column value vector are both equal to the number of characters in the text. At the same time, a row value will generate a row value eigenvalue and a column value will generate a column value eigenvalue. Therefore, the lengths of the four row encryption eigenvalues ​​and the four column encryption eigenvalues ​​are also equal to the number of characters in the text. For example, the first row value eigenvalue of the four row encryption eigenvalues ​​is taken to form the first first key vector. The first first key vector contains four row value eigenvalues. The first first key vector is used to encrypt the first vector to be encrypted. Similarly, the first second key vector is used to encrypt the first vector to be encrypted. The present invention makes the first key vector and the second key vector correspond one-to-one with the vector to be encrypted, and each vector to be encrypted has a first key vector and a second key vector.

[0076] The invention increases the complexity of the encryption process by performing XOR processing between rows and columns, making it more difficult for attackers to crack the encrypted information by simple analysis methods. The first key and the second key are used to encrypt the vector to be encrypted respectively, forming a double encryption mechanism. This multi-level encryption method significantly improves the security of data. Even if one layer is cracked, the other layer can still provide protection.

[0077] The first key generation subunit and the second key generation subunit dynamically generate keys according to the characteristics of rows and columns, ensuring the randomness and complexity of the keys and reducing the risk of key cracking. The fusion subunit fuses the first encryption vector and the second encryption vector to form a comprehensive word encryption information. This fusion mechanism makes the encryption result more complex and increases the difficulty of cracking.

[0078] The conversion subunit comprises: a first row XOR processing module, a second row XOR processing module, a first column XOR processing module, a second column XOR processing module and a matrix generation module;

[0079] The first row XOR processing module is used to perform bitwise XOR on the first row and the second row in the word encoding matrix to obtain a first transformation vector;

[0080] The second row XOR processing module is used to perform bitwise XOR on the third row and the fourth row in the word encoding matrix to obtain a second transformation vector;

[0081] The first column XOR processing module is used to perform bitwise XOR on the first column and the second column in the word encoding matrix to obtain a third transformation vector;

[0082] The second column XOR processing module is used to perform bitwise XOR on the third column and the fourth column in the word encoding matrix to obtain a fourth transformation vector;

[0083] The matrix generation module is used to form a transformation matrix using the first transformation vector, the second transformation vector, the third transformation vector and the fourth transformation vector, wherein one transformation vector serves as one row of the transformation matrix.

[0084] The present invention effectively breaks the original structure of the word encoding matrix through the XOR processing between rows and columns, increases the complexity of the encrypted data, and reduces the possibility of being cracked.

[0085] In this embodiment, the formula of the first encryption subunit is:

[0086] , where E 1,r is the rth first encrypted vector, For element-wise multiplication, X r is the rth vector to be encrypted, P 1,r is the rth first key vector.

[0087] In this embodiment, the formula of the second encryption subunit is:

[0088] , where E 2,r is the rth second encryption vector, P 2,r is the rth second key vector, For element-wise multiplication, X r is the rth vector to be encrypted.

[0089] In this embodiment, the formula of the fusion subunit is:

[0090] , where E is the encrypted information, E 1,r is the rth first encrypted vector, E 2,r is the rth second encryption vector.

[0091] The present invention also considers the sorting number r during encryption to increase the complexity of encryption. At the same time, the encryption result is no longer directly dependent on the encryption vector, thereby improving the overall security.

[0092] When storing, the encrypted information can be converted back into binary code for storage.

[0093] The present invention constructs a character encoding matrix according to the encoding situation of the characters, and constructs a row value vector and a column value vector according to the character encoding matrix corresponding to the text, reflecting the numerical arrangement situation of the text, extracts numerical eigenvalues ​​from the row value vector and the column value vector respectively, constructs a row encryption feature vector and a column encryption feature vector, so that the encryption amount is related to the structure and arrangement of the characters, improves the encryption security, makes different texts have row encryption feature vectors and column encryption feature vectors with different encryption, and then uses the row encryption feature vector and the column encryption feature vector for double encryption, further improving the encryption security.

[0094] The construction of row encryption feature vectors and column encryption feature vectors is based on the intrinsic characteristics of the text, which increases the complexity of encryption. This method makes the encrypted data more random in statistical analysis, reducing the possibility of attackers obtaining information through statistical analysis.

[0095] Through the double encryption of row encryption feature vectors and column encryption feature vectors, multi-level protection is introduced in the encryption process. Even if the attacker successfully cracks one layer of encryption, he still needs to face another layer of protection, which significantly increases the difficulty of cracking.

[0096] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An intelligent safety management system for engineering documents, characterized in that: include: A coding matrix construction unit, a first base-1 conversion unit, a second base-2 conversion unit, an encryption feature extraction unit, and a dual encryption unit; The coding matrix construction unit is used to encode the text to be encrypted in the engineering text according to UTF-16, and form a word coding matrix with a binary code sequence belonging to a word; The first system conversion unit is used to convert the binary system of each row element in the word encoding matrix to decimal system to obtain 4 row values, extract the same row value of each word in the text, and form a row value vector; The second binary conversion unit is used to convert the binary system of each column element in the word encoding matrix into a decimal system to obtain four column values, extract the same column value of each word in the text, and form a column value vector; The encrypted feature extraction unit is used to extract numerical feature values ​​from the row numerical vector and the column numerical vector respectively, and construct a row encrypted feature vector and a column encrypted feature vector; The double encryption unit is used to perform double encryption using a row encryption feature vector and a column encryption feature vector to obtain an encrypted text; The encryption feature extraction unit includes: a row encryption feature extraction subunit and a column encryption feature extraction subunit; The row encryption feature extraction subunit is used to calculate the row value feature value for each row value in the row value vector, and construct the row encryption feature vector by taking each row value feature value as an element; The column encryption feature extraction subunit is used to calculate the column value feature value for each column value in the column value vector, and construct the column encryption feature vector by taking each column value feature value as an element; The formula for calculating the row numerical feature value in the row encryption feature extraction subunit is: , ,in, is the nth row numerical eigenvalue, θ l,n is the neighborhood deviation value of the nth row value, x l,n is the nth row value in the row value vector, is the mean of the row values ​​in the row value vector, x l,n,k is the kth row value in the neighborhood of the nth row value in the row value vector, is the mean of multiple row values ​​within the neighborhood of the nth row value, n and k are positive integers, K is the length of the neighborhood range, is rounded down, || is the absolute value operation, and e is a natural constant; The formula for calculating the column numerical feature value in the column encryption feature extraction subunit is: , ,in, is the nth column numerical eigenvalue, θ c,n is the neighborhood deviation value of the nth column value, x c,n is the nth column value in the column value vector, is the mean of the column values ​​in the column value vector, x c,n,k is the kth column value in the neighborhood of the nth column value in the column value vector, It is the mean of multiple column values ​​within the neighborhood of the nth column value.

2. The intelligent safety management system for engineering documents according to claim 1 is characterized in that: The construction process of the coding matrix construction unit includes: encoding the text according to UTF-16 to obtain a binary coding sequence of each character, dividing the binary coding sequence of each character into 4 groups, wherein each group contains 4 binary coding values, and taking one group as a row vector to form a character coding matrix.

3. The intelligent safety management system for engineering documents according to claim 1 is characterized in that: The construction process of the first base conversion unit includes: converting the elements of the i-th row in the word encoding matrix from binary to decimal to obtain the i-th row value, extracting the i-th row value of each word in the text to form the i-th row value vector, where the value range of i is a positive integer from 1 to 4; The construction process of the binary conversion unit includes: converting the i-th column elements in the character encoding matrix from binary to decimal to obtain the i-th column value, extracting the i-th column value of each character in the text, and forming the i-th column value vector.

4. The intelligent safety management system for engineering documents according to claim 1 is characterized in that: The dual encryption unit comprises: a conversion subunit, a vector generation subunit to be encrypted, a first key generation subunit, a second key generation subunit, a first encryption subunit, a second encryption subunit and a fusion subunit; The conversion subunit is used to perform XOR processing between rows and columns on the word coding matrix to obtain a conversion matrix; The to-be-encrypted vector generating subunit is used to convert the binary system of each row element in the conversion matrix into a decimal system to obtain four to-be-encrypted values, and the four to-be-encrypted values ​​constitute the to-be-encrypted vector; The first key generation subunit is used to extract the r-th row numerical eigenvalue from the four row encryption eigenvectors to form the r-th first key vector, where r is a positive integer; The second key generation subunit is used to extract the rth column numerical eigenvalue from the four column encryption eigenvectors to form the rth second key vector; The first encryption subunit is used to encrypt the rth vector to be encrypted using the rth first key vector to obtain the rth first encrypted vector; The second encryption subunit is used to encrypt the rth vector to be encrypted using the rth second key vector to obtain the rth second encrypted vector; The fusion subunit is used to fuse the first encryption vector and the second encryption vector to obtain word encryption information, and all word encryption information constitutes encrypted text.

5. The intelligent safety management system for engineering documents according to claim 4 is characterized in that: The conversion subunit comprises: a first row XOR processing module, a second row XOR processing module, a first column XOR processing module, a second column XOR processing module and a matrix generation module; The first row XOR processing module is used to perform bitwise XOR on the first row and the second row in the word encoding matrix to obtain a first transformation vector; The second row XOR processing module is used to perform bitwise XOR on the third row and the fourth row in the word encoding matrix to obtain a second transformation vector; The first column XOR processing module is used to perform bitwise XOR on the first column and the second column in the word encoding matrix to obtain a third transformation vector; The second column XOR processing module is used to perform bitwise XOR on the third column and the fourth column in the word encoding matrix to obtain a fourth transformation vector; The matrix generation module is used to form a conversion matrix using the first transformation vector, the second transformation vector, the third transformation vector and the fourth transformation vector.

6. The intelligent safety management system for engineering documents according to claim 4 is characterized in that: The formula of the first encryption subunit is: , where E 1,r is the rth first encrypted vector, For element-wise multiplication, X r is the rth vector to be encrypted, P 1,r is the rth first key vector.

7. The intelligent safety management system for engineering documents according to claim 4 is characterized in that: The formula of the second encryption subunit is: , where E 2,r is the rth second encryption vector, P 2,r is the rth second key vector, For element-wise multiplication, X r is the rth vector to be encrypted.

8. The intelligent safety management system for engineering documents according to claim 4 is characterized in that: The formula of the fusion subunit is: , where E is the encrypted information, E 1,r is the rth first encrypted vector, E 2,r is the rth second encryption vector.

Citation Information

Patent Citations

  • Data encryption method and device, data decryption method and device, electronic equipment and storage medium

    CN115549979A

  • Data communication encryption method of Internet of Vehicles

    CN118741495A