Skip to main content

A small example package

Project description

stegpy

A program for encoding information in image and audio files through steganography.

On the left, a house with a steganographically hidden image. On the right, the extracted hidden image of a cat. It is revealed by removing all but the last significant bit of each color component in the host image.


Supported host formats:

  • PNG
  • BMP
  • GIF
  • WebP
  • WAV

Images in a different format are automatically converted to PNG. Different audio formats are not supported at all.


Dependencies:

  • numpy
  • cryptography
  • Pillow (PIL fork)

Install:

$ pip3 install stegpy

How to use:

  • Hide a message or file:
$ stegpy "Hello World!" image.png
  • Extract it:
$ stegpy _image.png
  • Encrypt:
$ stegpy "Hello World!" image.png -p
Enter password (will not be echoed):
Verify password (will not be echoed):
$ stegpy _image.png -p
Enter password (will not be echoed):
Hello World!
  • More options:
$ stegpy -h

To do:

  • Add docstrings
  • Allow encoding across multiple files
  • Support JPEG & FLAC as hosts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stegpy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size stegpy-0.0.1-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size stegpy-0.0.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page