计算机工程与设计2024,Vol.45Issue(9) :2561-2568.DOI:10.16208/j.issn1000-7024.2024.09.001

RC4加密算法改进研究及电路设计

Improvement of RC4 encryption algorithm and circuit design

雷文媛 夏宏 师瑞峰
计算机工程与设计2024,Vol.45Issue(9) :2561-2568.DOI:10.16208/j.issn1000-7024.2024.09.001

RC4加密算法改进研究及电路设计

Improvement of RC4 encryption algorithm and circuit design

雷文媛 1夏宏 1师瑞峰1
扫码查看

作者信息

  • 1. 华北电力大学控制与计算机工程学院,北京 102206
  • 折叠

摘要

针对软件实现RC4算法易遭受攻击且效率不高的问题,基于硬件电路实现算法的思想,引入快速伪随机数发生器提出一种改进RC4并设计电路实现.结合种子密钥和伪随机数进行字节内部与字节间的置乱改进初始化算法,提高算法安全性;设计消耗更少时钟周期的电路生成密钥流,提升加密效率.NIST检测显示改进RC4的密钥流序列随机性优于现存基于硬件的RC4产生的密钥流,仿真结果表明,电路能够完成正确加解密.

Abstract

To address the vulnerability and inefficiency issues of software implementation of the RC4 algorithm,based on the idea of using hardware circuit to implement algorithm,an improved RC4 was proposed by incorporating a fast pseudo random number generator and the circuit was designed.The algorithm security was significantly enhanced by incorporating a seed key and pseu-dorandom numbers for both intra-byte and inter-byte shuffling in the improved initialization process.The circuit that consumed less clock cycles was designed to generate key stream,which greatly improved the encryption efficiency.NIST testing indicates that the keystream sequences generated using the improved RC4 exhibits superior randomness compared to existing hardware-based RC4 implementations.Simulation results demonstrate that the circuit successfully accomplishes correct encryption and decryption.

关键词

加密算法/流密码/伪随机数发生器/密钥流随机性/硬件加密/混合进位加法器/随机性检测

Key words

encryption algorithm/stream cipher/pseudorandom number generator/randomness of keystream/hardware encryp-tion/hybrid carry adder/randomness test

引用本文复制引用

基金项目

中央高校基本科研业务费专项资金基金项目(2023JC007)

出版年

2024
计算机工程与设计
中国航天科工集团二院706所

计算机工程与设计

CSTPCD北大核心
影响因子:0.617
ISSN:1000-7024
参考文献量9
段落导航相关论文