Research Article

Chaotic Stream Cipher-Based Secure Data Communications over Intelligent Transportation Network

Pseudocode 1

Pseudocodes of PRGA: (a) in RC4 algorithm and (b) in the proposed logistic chaotic RC4 algorithm.
(a)
= 0, = 0
while(true)
= ( + 1) mod 256
= () mod 256
 Swap()
= () mod 256
=
(b)
= 0, = 0
while(true)
= () mod 256
=
=
= () mod 256
 Swap()
= () mod 256
=