Skip to main content

Digital image steganography of encrypted text

Project description

JPG, GIF, PNG, BMP.

日本語ドキュメント: Japanese Document

Installation

$ pip install steganography

Sample Command

# encode example: hide text to image
>>>steganography -e /tmp/image/a.jpg /tmp/image/b.jpg 'The quick brown fox jumps over the lazy dog.'

# decode example: read secret text from image
>>>steganography -d /tmp/image/b.jpg
The quick brown fox jumps over the lazy dog.

Sample Code

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from steganography.steganography import Steganography

# hide text to image
path = "/tmp/image/a.jpg"
output_path = "/tmp/image/b.jpg"
text = 'The quick brown fox jumps over the lazy dog.'
Steganography.encode(path, output_path, text)

# read secret text from image
secret_text = Steganography.decode(output_path)

Documentation

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
steganography-0.0.6.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page