摘要
针对现有同步序列密码算法不适用于网络传输中1对n传输模式的问题,提出一种基于分组加密同步信息的自同步序列密码算法。该算法首先生成一个随机数作为同步信息,用分组密码算法对其进行加密保护;同时以此随机数作为序列密码算法的密钥种子,对数据进行序列加密形成密文;最后将密文与加密后的同步信息一同发往接收端;接收端按相反过程解密得到原始数据。该算法在计算机上利用高级加密标准(AES)实现同步信息的分组加密、用RC4实现数据的序列加密后,在数据包很小时,性能不如单纯的AES;当数据包在128 B以上时,性能优于AES,并且数据包越大,其性能相对AES越优。当数据包为1 KB时,其加密速度为AES算法的12倍,解密速度是AES算法的16倍;数据包达到5 MB以上时,其性能与RC4基本相同,加密速度可达AES的25倍,解密速度可达AES的69倍。分析和实验结果表明,该算法在总体运算速度上优于AES算法,安全性上与AES算法相近,适应性上优于RC4算法,比较适用于UDP、TCP等网络传输协议的加密保护。
Focused on the issue that the existing synchronous sequence cipher algorithm is not suitable for the transmission mode of 1 to n in the network,a self-synchronizing sequence cipher algorithm based on block encrypting synchronization information was proposed.The algorithm first generates a random number as the synchronization information,and the block cipher algorithm is used to encrypt the data.At the same time,the random number is used as the key seed of the sequence cipher algorithm,and the data is encrypted to form the cipher text.Finally,the cipher text is sent to the receiving end with the encrypted sync information,and the receiving end gets the original data by the reverse process.In the computer,the algorithm can use AES to realize the block encryption of the synchronization information,and use RC4 to realize the data encryption.When the data packet is very small,the performance is not as good as AES,when the data packet is greater than 128 B,the performance is better than AES,and the data packet is bigger,the performance is better than AES.When the data packet is 1 KB,the encryption speed is 12 times of AES,the encryption speed is 16 times of AES.When the data packet is greater than 5 MB,the performance is almost the same with RC4,the encryption speed is 25 times of AES,the encryption speed is 69 times of AES.The analysis and experimental results show that the overall operation speed of the proposed algorithm is superior to the AES algorithm,the security is similar to the AES algorithm,the adaptive ability is better than the RC4 algorithm.It is suitable for UDP,TCP and other network transmission protocols.
出处
《计算机应用》
CSCD
北大核心
2016年第A01期42-45,共4页
journal of Computer Applications
关键词
分组密码
序列密码
自同步序列密码
高级加密标准
RC4
block cipher
sequence cipher
self-synchronizing sequence cipher
Advanced Encryption Standard(AES)
RC4