A Secure and Efficient Novel Keystream Generator for Stream Ciphers

 

 

 

Chaithanya S.1,*, Siddesh G. K.2

 

1Department of Electronics and Communication Engineering, Rajarajeswari College of Engineering, Bangalore, Karnataka, India

 

2Dean ECE-EEE, VidyaVikas Institute of Engineering and Technology, Mysore, Karnataka, India

 

Emails: chaithanya06@gmail.com; siddeshgundagatti@gmail.com

 

 

Abstract

The Internet of Things real-time communications depend on a secure stream of data. For the secure communications, a stream cipher with the features of ease and speediness is appropriate. The development and testing of a novel cryptographic algorithm with the goal of enhancing encryption performance. This paper introduces novel A matrix-based nonlinear pseudorandom key stream generation method inspired by the principles of fundamental recursive relationship of Reinforcement Learning, aiming to enhance diffusion and randomness in stream ciphers. We also incorporate the encryption approach based on the Counter based transformation of keystream generation (CBTKSG) method to enhance the speed, which is particularly well-suited for efficiently handling large file sizes since it delivers fast throughput. The technique was thoroughly bench marked and compared to other well-known encryption schemes. Performance has significantly improved without sacrificing security, according to the data. The keystream output was placed through the NIST SP 800-22 statistical test suite to verify its cryptographic strength. It passed every test with high p-values, indicating high randomness quality. The cipher has a strong avalanche effect, meets standard security criteria like IND-CPA and IND-CCA, and resists common cryptanalysis methods including related-key, differential, and linear attacks.

 

 

 

 

Received: January 02, 2025 Revised: March 02, 2025 Accepted: June 05, 2025

 

Keywords: Internet of Things; Encryption; Stream cipher; CBTKSG; Cryptography; Reinforcement Learning