Journal of Intelligent Systems and Internet of Things JISIoT 2690-6791 2769-786X 10.54216/JISIoT https://www.americaspg.com/journals/show/4143 2019 2019 A Secure and Efficient Novel Keystream Generator for Stream Ciphers Department of Electronics and Communication Engineering, Rajarajeswari College of Engineering, Bangalore, Karnataka, India Chaithanya Chaithanya Dean ECE-EEE, VidyaVikas Institute of Engineering and Technology, Mysore, Karnataka, India Siddesh G.. K. 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. 2025 2025 340 359 10.54216/JISIoT.170222 https://www.americaspg.com/articleinfo/18/show/4143