Implementation method for supporting SM4 national cryptographic algorithm by storage encryption function in OpenGauss database
A technology of national secret algorithm and encryption function, applied in the field of relational database management and operating system, it can solve the problems of complex logic, high maintenance cost, and the storage encryption function cannot be used normally, so as to ensure data security and increase the effect of packaging.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Embodiment 1: store encryption function in a kind of OpenGauss database and support the implementation method of SM4 national secret algorithm, this method comprises the following steps:
[0049] (1) Generation of encryption key before initializing the instance
[0050] Before initializing the instance, the database administrator (DBA) randomly inputs a 16-byte string as the encryption key, and uses Base64 encoding (Base64 encoding uses 64 printable ASCII characters (A-Z, a-z, 0-9, +, / ) encodes arbitrary byte sequence data into an ASCII string) conversion tool to convert it.
[0051] (2) Checksum storage of the encryption key when initializing the instance (see figure 2 )
[0052] When initializing the instance, firstly decode and check the length of the encryption key converted by Base64 encoding. If the key length is 128 bits, store the encryption key in the file under the instance through the K parameter. If the encryption key is If the key length is not 128 bit...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com