Skip to content

A script to encrypt text into a picture file using a secret key

License

Notifications You must be signed in to change notification settings

lucasheartcliff/crypt-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypt Image

A script to encrypt text into a picture file using a secret key

wakatime

Requirements

python 3.6.x

Installation

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Encode Usage

python3 main.py encode -i <input> -o <output> -f <file> -k <key>

Example

python3 main.py encode -i example/th.jpeg -o output.jpg -f example/test_txt -k example/key.file

Decode Usage

python3 main.py decode -i <input> -o <output> -k <key>

Example

python3  main.py decode -i output.png -o text_out.txt -k example/key.file