项目作者: Pendosv

项目描述 :
Text-to-image encryption script
高级语言: Python
项目地址: git://github.com/Pendosv/ImageCrypt.git
创建时间: 2021-05-29T20:02:54Z
项目社区:https://github.com/Pendosv/ImageCrypt

开源协议:MIT License

下载


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

  1. yay -S image-crypt
  1. git clone https://github.com/TheK4n/image-crypt.git
  2. cd image-crypt
  3. makepkg -sic

Install from source

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

Usage

GUI:

  1. image-crypt-qt

Example

CLI:

  1. image-crypt --help

Result:

  1. usage: image-crypt [-h] (-e | -d) [-o OUTPUT] images [images ...]
  2. Steganography encryption tool
  3. positional arguments:
  4. images path to image to encrypt of decrypt
  5. optional arguments:
  6. -h, --help show this help message and exit
  7. -e, --encrypt encrypts text in image
  8. -d, --decrypt decrypts text from image
  9. -o OUTPUT, --output OUTPUT
  10. name of output image

\
For encryption:

  1. image-crypt -e images/test.jpg

Result: saved image with default name image_encrypted.png

For decryption:

  1. image-crypt -d test_encrypted.png

Result: decrypted text

\
Example:

  1. echo "test message" | image-crypt -e image.png -o test_image.png
  2. image-crypt -d test_image.png > res.txt


Docker:

Example:

  1. 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.