Skip to content

Encrypt and Decrypt Image files ๐Ÿ—ƒ๏ธ

Notifications You must be signed in to change notification settings

SaadARazzaq/Image-enCypher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Image enCypher ๐Ÿ–ผ๏ธ

image

Introduction ๐Ÿš€

The Image Cypher application allows users to encrypt and decrypt images using a simple Caesar cipher algorithm. This tool can be used for basic image encryption and decryption and serves as an example of image manipulation with Streamlit.

Output ๐Ÿ“ธ

Screenshot 2024-08-17 at 06 18 57 Screenshot 2024-08-17 at 06 23 13

Features โœจ

  • Upload an image in JPG, JPEG, PNG, or GIF format.
  • Enter a key to encrypt the image using a Caesar cipher.
  • View the original, encrypted and decrypted images side by side.
  • See the pixel array of each image as well.
  • Download the original, encrypted and decrypted images for further analysis.

How It Works ๐Ÿ› ๏ธ

  • The application uses the Streamlit library for the user interface.
  • Uploaded images are encrypted using a Caesar cipher algorithm, where each RGB channel of every pixel is shifted by the specified key value.
  • These are then decrypted where each RGB channel of every pixel is shifted in reverse by the specified key value

Future Enhancements ๐ŸŒŸ

  • Implement additional encryption and decryption algorithms for increased security.
  • Enhance the user interface with more customization options and visualizations.

Dependencies ๐Ÿ“ฆ

  • Streamlit: pip install streamlit
  • PIL (Python Imaging Library): Included in most Python distributions

Running the Application โ–ถ๏ธ

  1. Clone the repository or download the source code from https://github.com/SaadARazzaq/Image-enCypher.git.
  2. Install the necessary dependencies.
  3. Run the script.
  4. Access the application via the provided URL in your web browser.