A stream cipher method for RGB image encryption using PSO base key generation

Sepideh Bahri-Laleh, Mohammad Ali Balafar, Mohammad-Reza Feizi-Derakhshi
2017 International Journal of Security and Its Applications  
This paper introduces a novel approach based on a stream cipher to encrypt RGB images. In this regard, a Particle Swarm Optimization (PSO) based algorithm is used to generate the keystream for encryption. Red, green and blue channels of the RGB image are shown as texts and then a stream cipher is used to encrypt the resultant image. A method named PSO Key Generation Color image Encryption (PKGCE) algorithm uses 3 character code tables for each of the 3 channels of RGB image in order to encode
more » ... e keys and the plain texts showing correspondent channel of the RGB image. A zigzag operation is done on the resultant image in each of the channels to provide more security in a way that the start point of the zigzag path is dependent on the key and channel size. The main advantages of this algorithm over the previously ones, are less number of keys needed to be stored and distributed and also the appropriate speed of the algorithm. Experimental results and the comparison of the proposed algorithm with other encryption algorithms are discussed in detail. Biham and Seberry [16] suggested a fast and secure stream cipher for encryption. The disadvantage in this algorithm is that entirely 256 keys have to be kept for initial permutation. The keystream produced is not related to the plain text to be encrypted. Moreover, the plain text is not encoded. Stream Cipher using PKGCE versus Key Pooled RC4 Kim et al., [17] suggested a method to implement and measure an effective RC4 stream cipher. The disadvantage in this algorithm is that the number of keys to be kept and shared is large. Moreover, the plain text is not encoded.
doi:10.14257/ijsia.2017.11.9.06 fatcat:ghcybqschbf7zooucmdvyqnzb4