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