Giter Site home page Giter Site logo

prasadsachidananda / logisticmap_lfsr_imageencryptiondecryption Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reemrashwan/logisticmap_lfsr_imageencryptiondecryption

0.0 0.0 0.0 12 KB

Single image encryption (and decryption) using logistic map equation and linear feedback shift.

MATLAB 100.00%

logisticmap_lfsr_imageencryptiondecryption's Introduction

Image Encryption and Decryption Using Logistic Map Equation and Linear Feedback Shift.

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

KEY GENERATION STEPS:

  1. Generate a sequence of keys using logistic map equation.
  2. Generate a sequence of keys using linear feedback shift register.
  3. XOR the binary version of the previous sequences to form the final key sequence.

ENCRYPTION STEPS:

  1. Split colored img channels.
  2. Convert each pixel value into block of 8-bits.
  3. XOR the final key sequence with the binary image pixels.

DECRYPTION STEPS:

  1. Split encrypted img channels.
  2. Convert each pixel value into block of 8-bits.
  3. XOR the key sequence (which was used to encrypt the image) with encrypted img pixels.

logisticmap_lfsr_imageencryptiondecryption's People

Contributors

reemrashwan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.