SQLite database safety enhancement method

The invention discloses an SQLite database safety enhancement method, which is triggered when an SQLite database file is written into a storage medium, and specifically comprises the following steps of: adding a redundant data clearing function for a BTree page in an encryption function of an encryp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN MINGZHI, WENG CAIJIE, RAO QINGYU, XU CHUNYAO, YANG XIAOQUAN, XIE JIALIANG, ZHOU YI, FU MINGJIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an SQLite database safety enhancement method, which is triggered when an SQLite database file is written into a storage medium, and specifically comprises the following steps of: adding a redundant data clearing function for a BTree page in an encryption function of an encryption interface, and executing a redundant data clearing operation on the current page before the current page is encrypted; and realizing encryption and decryption operations in an encryption and decryption interface function of the SQLite database by utilizing ZUC and SM3 algorithms. According to the method, the database file can be encrypted before the database file is stored in the storage medium, and redundant data clearing operation is executed on the BTree page before encryption, so that the safety of the database can be effectively enhanced. The private data of a user can be prevented from being stolen. 本发明公开一种SQLite数据库安全增强方法,在将SQLite数据库文件写入存储介质时触发,具体包括以下步骤:在加密接口的加密函数中增加对BTree页的冗余数据清除功能,在对当前页加密前,先对其执行冗余数据清除操