Method and system for switching AES (Advanced Encryption Standard) and national password based on MySQL encryption algorithm
An encryption algorithm and national secret technology, applied in the database field, can solve the problems of single encryption algorithm and cannot better meet data security requirements.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] A switching method based on MySQL encryption algorithm AES and national secret, the method records the conversion process of all encrypted tables by creating a system table, and records the state of the conversion process of data by field status;
[0051] Save all encrypted table names and related information to the created system table by transaction;
[0052] Identify the current encryption algorithm type with a global variable, close the binlog log and enable multithreading during the data conversion process;
[0053] The encrypted data table is stored in plaintext through the temporary table, and the encrypted data is converted into a new encrypted data table;
[0054] The method of the present invention records the conversion process of all encrypted tables by creating a system table, and records the state of the data conversion process through the field status, which is characterized as described in S8, S9, S11, and S14, and records the encryption table through th...
Embodiment 2
[0098] A kind of switching system based on MySQL encryption algorithm AES and national secret, according to any described method of claim 1-7, described system conversion record module, information preservation module, data processing module and data conversion module:
[0099] Conversion record module: record the conversion process of all encrypted tables by creating a system table, and record the status of the data conversion process through the field status;
[0100] Information saving module: save all encrypted table names and related information to the created system table by transaction;
[0101] Data processing module: use global variables to identify the current encryption algorithm type, close the binlog log and enable multi-threading during the data conversion process;
[0102] Data conversion module: store the encrypted data table in plaintext through a temporary table, and convert the encrypted data into a new encrypted data table.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
