All Projects → cedricbonhomme → Stegano

cedricbonhomme / Stegano

Licence: gpl-3.0
A pure Python steganography module.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Stegano

nats
A program to hide file into executable binary.
Stars: ✭ 16 (-95.06%)
Mutual labels:  secret, steganography
Exifcleaner
Cross-platform desktop GUI app to clean image metadata
Stars: ✭ 305 (-5.86%)
Mutual labels:  image-processing
Curvaturefilter
Curvature Filters are efficient solvers for Variational Models
Stars: ✭ 291 (-10.19%)
Mutual labels:  image-processing
Segmentation models.pytorch
Segmentation models with pretrained backbones. PyTorch.
Stars: ✭ 4,584 (+1314.81%)
Mutual labels:  image-processing
Simple Crop
全网唯一支持裁剪图片任意角度旋转、交互体验媲美原生客户端的全平台图片裁剪组件。
Stars: ✭ 294 (-9.26%)
Mutual labels:  image-processing
Sewar
All image quality metrics you need in one package.
Stars: ✭ 299 (-7.72%)
Mutual labels:  image-processing
Colorgram.py
A Python module for extracting colors from images. Get a palette of any picture!
Stars: ✭ 289 (-10.8%)
Mutual labels:  image-processing
T Vault
Simplified secrets management solution
Stars: ✭ 316 (-2.47%)
Mutual labels:  secret
Stegastamp
Invisible Hyperlinks in Physical Photographs
Stars: ✭ 306 (-5.56%)
Mutual labels:  steganography
Statically
⚡️ The best free and fast CDN for images, CSS, JavaScript, and open source.
Stars: ✭ 299 (-7.72%)
Mutual labels:  image-processing
Vault Secrets Operator
Create Kubernetes secrets from Vault for a secure GitOps based workflow.
Stars: ✭ 298 (-8.02%)
Mutual labels:  secret
Image Similarity
计算图片之间的相似度
Stars: ✭ 292 (-9.88%)
Mutual labels:  image-processing
Tinify Nodejs
Node.js client for the Tinify API.
Stars: ✭ 299 (-7.72%)
Mutual labels:  image-processing
Shhgit
Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories: www.shhgit.com
Stars: ✭ 3,316 (+923.46%)
Mutual labels:  secret
Korkut
Quick and simple image processing at the command line. 🔨
Stars: ✭ 310 (-4.32%)
Mutual labels:  image-processing
Spectral
Python module for hyperspectral image processing
Stars: ✭ 290 (-10.49%)
Mutual labels:  image-processing
Pyvips
python binding for libvips using cffi
Stars: ✭ 296 (-8.64%)
Mutual labels:  image-processing
Bild
Image processing algorithms in pure Go
Stars: ✭ 3,431 (+958.95%)
Mutual labels:  image-processing
Medpy
Medical image processing in Python
Stars: ✭ 321 (-0.93%)
Mutual labels:  image-processing
Jekyll Gallery Generator
A Jekyll plugin that generates photo galleries from directories full of images.
Stars: ✭ 315 (-2.78%)
Mutual labels:  image-processing

Stegano

builds.sr.ht status

Stegano, a pure Python Steganography module.

Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message, a form of security through obscurity. Consequently, functions provided by Stegano only hide messages, without encryption. Steganography is often used with cryptography.

For reporting issues, visit the tracker here: https://todo.sr.ht/~cedric/stegano

Installation

$ poetry install stegano

You will be able to use Stegano in your Python programs.

If you only want to install Stegano as a command line tool:

$ pipx install stegano

pipx installs scripts (system wide available) provided by Python packages into separate virtualenvs to shield them from your system and each other.

Usage

A tutorial is available.

Use Stegano as a library in your Python program

If you want to use Stegano in your Python program you just have to import the appropriate steganography technique. For example:

>>> from stegano import lsb
>>> secret = lsb.hide("./tests/sample-files/Lenna.png", "Hello World")
>>> secret.save("./Lenna-secret.png")
>>>
>>> clear_message = lsb.reveal("./Lenna-secret.png")

Use Stegano as a command line tool

Hide and reveal a message

$ stegano-lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png
$ stegano-lsb reveal -i Lena1.png
Secret Message

Hide the message with the Sieve of Eratosthenes

$ stegano-lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png

The message will be scattered in the picture, following a set described by the Sieve of Eratosthenes. Other sets are available. You can also use your own generators.

This will make a steganalysis more complicated.

Running the tests

$ python -m unittest discover -v

Running the static type checker:

$ python tools/run_mypy.py

Contributions

Contributions are welcome. If you want to contribute to Stegano I highly recommend you to install it in a Python virtual environment with poetry.

License

This software is licensed under GNU General Public License version 3

Copyright (C) 2010-2021 Cédric Bonhomme

For more information, the list of authors and contributors is available.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].