Skip to main content

Digital image steganography of encrypted text

Project description

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


$ pip install steganography

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)


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 steganography, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size steganography-0.0.3.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

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