Skip to content

Can encrypt and decrypt text or files to images, using a custom seed for encryption

Notifications You must be signed in to change notification settings

TheStrgamer/Text-as-image

Repository files navigation

Text and File Image Translator

Encrypt text/files into images and decrypt them back using custom seeds.

Features

  • Text to Image conversion
  • File to Image conversion
  • Seed-based encryption
  • GUI and CLI interfaces

Installation

git clone https://github.com/TheStrgamer/Text-as-image.git
cd Text-as-image
pip install -r requirements.txt

Usage

GUI

py TranslatorInterface.py

CLI

# Text
## Encrypt
python Text_Image_Translator.py encrypt "text" output.png [seed]

## Decrypt 
python Text_Image_Translator.py decrypt input.png [seed]

# File
# Encrypt
python File_Image_Translator.py encrypt input.file output.png [seed]

# Decrypt
python File_Image_Translator.py decrypt input.png output.file [seed]

Some images of usage

File encrypted using seed 3349

result

The main menu of the GUI

main menu

The page for encrypting text

encrypt text

The page for decrypting text

decrypt text

The result of decrypting with incorrect seed

decrypt wrong seed

The page for encrypting a file

encrypt file

The page for decrypting a file

decrypt file

About

Can encrypt and decrypt text or files to images, using a custom seed for encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages