This program implements the encryption and decryption algorithm introduced in: 'Image Encryption and Decryption using Chaotic Key Sequence Generated by Sequence of Logistic Map and Sequence of States of Linear Feedback Shift' research paper.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The program generates a sequence of N keys (N = number of image pixel) and then it XORs these keys with the original image pixels to produce the encrypted image. The decryption process is done by XORing the encrypted image pixels with the sequence of keys that was used to encrypt the original image. Note: use Octave
- Generate a sequence of keys using logistic map equation.
- Generate a sequence of keys using linear feedback shift register.
- XOR the binary version of the previous sequences to form the final key sequence.
- Split colored img channels.
- Convert each pixel value into block of 8-bits.
- XOR the final key sequence with the binary image pixels.
- Split encrypted img channels.
- Convert each pixel value into block of 8-bits.
- XOR the key sequence (which was used to encrypt the image) with encrypted img pixels.