摘要
提出一种基于数据分解的加密方法,通过在多核CPU上进行多线程编程,充分利用CPU的性能,提高大文件加解密的效率。首先对AES算加密的4种方式进行研究分析,选择ECB加密模式进行设计,然后研究如何将大文件分解成合适的组才能达到算法并行运行的最优效率。实验结果表明,与传统AES加密算法相比,使用并行运算改进后,加密速度约为传统算法加密速度的1/n,其中n为CPU的逻辑核心数。
In the paper,an encryption method based on data decomposition is proposed.By using multi-thread programming on multi-core CPU,the performance of the CPU is fully utilized.So it can improve the efficiency of large file encryption and decryption.Firstly,the four methods of AES arithmetic encryption are studied and analyzed.The ECB encryption mode is selected for design.Then how to decompose large files into appropriate groups can achieve the optimal efficiency of parallel operation of the algorithm is studied.The experiment results show that compared with the traditional AES encryption algorithm,the improved encryption and decryption speed using parallel operation is about 1/n of the traditional algorithm encryption speed, n is the number of thread of the CPU.
作者
卢军
张国辉
李国强
Lu Jun;Zhang Guohui;Li Guoqiang(Information and Communication Department,Army Academy of Armored Forces,Beijing 100072,China;Army Academy of Infantry)
出处
《单片机与嵌入式系统应用》
2019年第4期15-18,共4页
Microcontrollers & Embedded Systems
关键词
AES算法
数据分解
多线程编程
并行运算
AES algorithm
data decomposition
multi-threaded programming
parallel computing