Git Product home page Git Product logo

matlab-image-encryption-decryption's Introduction

Image Encryption & Decryption

A MATLAB program that encrypts and decrypts an image using XOR (One Time Pad) operation. XOR operation encrypts the plaintext and decrypts its ciphertext using the same key which makes the ciphertext hard to crack by brute force (Wagner, 2020). This program presents a graphical user interface (GUI) to users that let them choose between uploading, encrypting or decrypting an image. The accepted image formats are Joint Photographic Experts Group (.jpg), Tag Image File Format (.tif/.tiff) and Portable Graphics Format (.png) in either true-colour (RGB) or grayscale images. An encryption key is generated automatically to scramble and rearrange the information that represents the input image. The output will be saved in the folder named images.

Features

  • Encryption: Encrypt images with an auto generated key.
  • Decryption: Decrypt images with the encrypted key.

Files

Name Description
results A folder to store/save the encrypted (Encoded.jpg) and decrypted (Decoded.jpg) images.
cameraman.tif A grayscale image in TIF format.
FSKTM_Image.png A colour image in PNG format.
imageEncryptionGui.fig Edit this file if you want to make changes to the user interface of the program.
imageEncryptionGui.m Run this file to begin with the encryption and decryption operation.
imageProcess.m Encrypt and decrypt using XOR.
keyGen.m Generate a key.
Lena.jpg A grayscale image in JPG format.
license.txt A license document.
program_img.png Show the graphical user interface of the program.
program_img1.png Show the result.
UTHM_Library.jpg A colour image in JPG format.

References

No. Website
1. Image Encryption by busy
2. Why is Exclusive Or (XOR) Important in Cryptography?

GitHub

https://github.com/myStery24/matlab-image-encryption-decryption

matlab-image-encryption-decryption's People

Contributors

mystery24 avatar

Stargazers

 avatar  avatar

Watchers

 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.