Skip to content

P0p0vsk1/IMG2ENC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

Img2Enc: Image-Based Encryption Tool

Introduction

Img2Enc is a Python-based command-line tool that allows users to encrypt and decrypt files using a unique key derived from an image or the image itself. This tool uses the AES encryption algorithm and offers a user-friendly interface to handle file encryption tasks with ease.

Features

  • UnCrackable file encryption
  • Encrypt and decrypt files using AES-256.
  • Generate encryption keys from images.
  • Use either image file or key file to encrypt/decrypt
  • Command-line interface for easy use.

Installation

Important

To install Img2Enc, you'll need Python 3.6 or later.

Simply clone this repository:

git clone https://github.com/P0p0vsk1/IMG2ENC
cd IMG2ENC

Then, you can install the required packages using pip:

pip install -r requirements.txt

Usage

To use Img2Enc, navigate to the directory containing the script and simply run img2enc.py:

python img2enc.py -f <input_file> -o <output_file> -k <keyfile> -d
python img2enc.py -f <input_file> -o <output_file> -i <image> -e

input_file: The file you want to encrypt.
output_file: The output file where the encrypted data will be saved.
keyfile: The .key file generated from your image.
image: The image you want to use as the key

Note

You have to use -e/-d switches to set the encryption/decryption mode

Warning

Only jpeg/jpg file formats are supported for image-key-file

Acknowledgments

Thanks to the developers of the pycryptodome, pyfiglet, and pillow libraries.

About

IMG2ENC Encryption/Decryption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages