摘要
SQLite3是一款使用广泛的嵌入式数据库,然而,免费开源的版本并没有提供相应的安全存储功能。针对这种情况,提出一种基于XXTEA的SQLite3安全存储方法。该方法首先使用MD5单向散列函数生成固定长度为16字节的密钥,然后使用XXTEA微型加密算法在SQLite3的内核层实现了"页面级"的安全存储。实验结果和分析表明,该方法以增加一小部分时间消耗为代价增强了SQLite3数据库的安全存储,同时并没有增加数据库的存储量。
SQLite3 is a widely used embedded database. However,the free and open source version does not provide any corresponding secure storage function. In view of this,we propose a secure storage method of SQLite3 data based on XXTEA. This method makes use of the MD5 hash function to generate a key with a fixed 16-byte length first,and then realizes the page-level secure storage of SQLite3 in kernel layer using the tiny encryption algorithm XXTEA. The experimental results and analysis show that this method enhances the secure storage of SQLite3 data at the cost of a small amount of time without increasing the storage capacity of the database.
出处
《信息工程大学学报》
2016年第2期238-243,共6页
Journal of Information Engineering University