Skip to content

BIM33403 Multimedia Security Technology Semester 6 Lab 2

License

MIT, BSD-2-Clause licenses found

Licenses found

MIT
LICENSE
BSD-2-Clause
license.txt
Notifications You must be signed in to change notification settings

myStery24/matlab-image-encryption-decryption

Repository files navigation

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

About

BIM33403 Multimedia Security Technology Semester 6 Lab 2

Topics

Resources

License

MIT, BSD-2-Clause licenses found

Licenses found

MIT
LICENSE
BSD-2-Clause
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages