摘要
SQLite作为一款轻量级嵌入式数据库已广泛应用于装甲车辆各嵌入式设备中,但其不具备数据加密功能。为保证数据安全,提出了AES加密算法对SQLite文件进行加密的方法。同时,为适配嵌入式环境,对标准AES算法进行简化S盒与无序行移位两方面改进。在SQLite的测试结果表明,轻量化AES在加密时间、存储空间、雪崩效应上有更好的表现:轻量化AES比标准AES快8%,比3DES快17%,内存占用比标准AES轻17.8%,比3DES轻27%,雪崩效应提高1%.为嵌入式设备数据库安全提供了一个高效方案。
SQLite,as a lightweight embedded database,has been widely used in embedded devices of armored vehicles,but it does not have data encryption function.In order to ensure data security,a method of encrypting SQLite files with AES encryption algorithm is proposed.At the same time,in order to adapt to the embedded environment,the standard AES algorithm is improved in two aspects:simplified S-box and unordered shiftrow.The test results in SQLite show that lightweight AES has better performance in encryption time,storage space and avalanche effects:The lightweight AES is 8%faster than that of the standard AES,17%faster than that of 3DES,the memory occupation is 17.8%lighter than that of the standard AES,27%lighter than that of 3DES,and the avalanche effect is increased by 1%,providing an efficient scheme for embedded device database security.
作者
翟禹
武黎明
王祥
王淑娟
董祺宁
ZHAI Yu;WU Liming;WANG Xiang;WANG Shujuan;DONG Qining(North Automatic Control Technology Institude,Taiyuan 030006,China)
出处
《火力与指挥控制》
CSCD
北大核心
2023年第6期97-101,共5页
Fire Control & Command Control