Skip to content

frozeeen/pixseed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixSeed 🌱

Encrypt your image using another image. (Not suitable for all images)

PixSeed (github)

How does it work?

It uses the key image (another image) to generate a seed, and the seed will be used by the target image to encrypt or decrypt.

How to use

# Generate key
python genkey.py -r <key-image-name> -w <width> -h <height> -r <channel>

Arguments:
  -r (optional)   Key file name
  -w (required)   Key image width
  -h (required)   Key image height
  -r (optional)   Key image channel

---

# Encryption
python app.py -t E -i <image-to-encrypt> -k <image-key>

Arguments:
  -t (required)   Type(E|D)
  -i (required)   Target Image
  -k (required)   Key Image

---

# Decryption
python app.py -t D -i <image-to-decrypt> -k <image-key>

Arguments:
  -t (required)   Type
  -i (required)   Target Image
  -k (required)   Key Image

Is it secure?

Not really, this is just for fun and some simple experimentation.