Custom SQLite encryption and decryption method

By generating encryption and decryption passwords using user-defined source passwords and employing XOR operations to encrypt and decrypt SQLite databases, this method addresses the issue of insufficient data security in SQLite databases on smart mobile terminals. It achieves an efficient and secure custom encryption and decryption method suitable for encryption requirements in different industries and regions.

CN121919892APending Publication Date: 2026-04-24XLY SALVATIONDATA TECHNOLOGY INC
0 Cites 0 Cited by

Patent Information

Application Number
CN202511835218.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-08
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

The existing SQLite database lacks custom encryption and decryption methods in smart mobile terminals, resulting in insufficient data security and an inability to flexibly adapt to the encryption requirements of different industries and regions. Furthermore, commercial encryption solutions are costly, and general-purpose encryption solutions cannot be adapted to specific business scenarios.

Method used

Encryption and decryption passwords are generated by user-defined original passwords, and XOR operations are used to encrypt and decrypt data. Parameters are configured in the SQLite database using custom structures to ensure the security and ease of data writing and reading.

Benefits of technology

While remaining free, it achieves efficient and secure encryption and decryption of SQLite databases, while also being simple to use, meeting users' customized encryption and decryption needs, and improving data security and applicability.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a method for data mutual migration between relational databases, which is characterized by comprising the following steps that: an SQLite database is opened, a user sets an original password by himself / herself, and the SQLite database is an open source SQLite database; a structural body is self-defined in codes of the SQLite database and used for configuring parameters and achieving encryption of the SQLite database, and the structural body comprises a database original password, an original password byte length, a tree structure, an encryption password generated after the database original password is adopted for encoding and a decryption password generated after the database original password is adopted for encoding; generating an encrypted password and a decrypted password by adopting the original password; data writing of the SQLite data the encrypted password and to-be-written data are subjected to xor according to word bits, and the result serves as encrypted data to be written into the SQLite database; and reading the data of the SQLite database, wherein the decryption password and the data to be read are subjected to xor according to word bits, and a result is used as a read result of the decrypted data of the SQLite database.
Need to check novelty before this filing date? Find Prior Art