Skip to content

TheK4n/image-crypt

Repository files navigation

ImageCrypt

Project description

Project AlexGyver on Python by TheK4n
Steganography encryption tool. It can hide text inside PNG image pixels. It uses AES or RSA encryption methods.
Design by Пашушка

Installation:

From AUR

yay -S image-crypt

Install by pacman (Recommended)

git clone https://github.com/TheK4n/image-crypt.git
cd image-crypt
makepkg -sic

Install from source

git clone https://github.com/TheK4n/image-crypt.git
cd image-crypt
make install

Usage

GUI:

image-crypt-qt

Example

CLI:

image-crypt --help

Result:

usage: image-crypt [-h] (-e | -d) [-o OUTPUT] images [images ...]

Steganography encryption tool

positional arguments:
  images                path to image to encrypt of decrypt

optional arguments:
  -h, --help            show this help message and exit
  -e, --encrypt         encrypts text in image
  -d, --decrypt         decrypts text from image
  -o OUTPUT, --output OUTPUT
                        name of output image


For encryption:

image-crypt -e images/test.jpg

Result: saved image with default name image_encrypted.png

For decryption:

image-crypt -d test_encrypted.png

Result: decrypted text


Example:

echo "test message" | image-crypt -e image.png -o test_image.png

image-crypt -d test_image.png > res.txt

Docker:

Example:

docker run --rm -it -v $(pwd):/image-crypt -w /image-crypt thek4n/image-crypt image-crypt -e image.png

/image-crypt - Container`s directory
thek4n/image-crypt - Image on DockerHub
image-crypt - Program name
image.png - Your image in your work directory

Enter the text, press Ctrl + d and enter the passphrase

Result: Encrypted image in work directory

FAQ

Q: What is the level of cryptographic strength?

A: It uses symmetric and asymmetric encryption methods such as AES and RSA.


Q: Does it pack the image data into text?

A: No, it's packing text into image pixels.