GithubHelp home page GithubHelp logo

beatsbears / steg Goto Github PK

View Code? Open in Web Editor NEW
31.0 5.0 16.0 196 KB

Steg is a simple python library for hiding and extracting messages from losslessly compressed images using least-significant-bit (LSB) steganography.

License: MIT License

Python 100.00%

steg's Introduction

Steg

Ochrona

Steg is a simple python library for hiding and extracting messages from losslessly compressed images using least-significant-bit (LSB) steganography. Current supported image formats include PNG, TIFF, BMP, and ICO. Steg also includes a command line tool for quick hiding and extraction.

Installation

$ pip install steg

Usage in Code

# Import library
from steg import steg_img

# Hiding
# Select your payload and carrier files
s = steg_img.IMG(payload_path=<payload path>, image_path=<carrier path>)
# Create a new image containing your payload
s.hide()

# Extracting
# Select the carrier image
s_prime = steg_img.IMG(image_path=<path of containing hidden payload>)
# Extract the payload
s_prime.extract()

Commandline Usage

  1. To hide a payload in an image: $ steg -c <your image file> -p <your payload>
  2. To extract a payload from a carrier: $ steg -c <your image file>

steg's People

Contributors

beatsbears avatar

Stargazers

Mr. Camarium avatar Nikolaus Schlemm avatar  avatar CWD avatar Dibyajyoti Parida avatar Leo avatar Robert Williger avatar Alexey Ternavskiy avatar  avatar Franco Stefano avatar N Auliajati avatar Andressa Marçal avatar  avatar  avatar tewood avatar Matthew Edmond avatar Vee Flynn avatar  avatar Shantnu Garg avatar Zarab avatar Gurpreet Singh Behal avatar Henry Clarke avatar feiandxs avatar  avatar Barkin Simsek avatar userx avatar Markus Backes avatar Joseph Dillon avatar Wade avatar  avatar  avatar

Watchers

James Cloos avatar Markus Backes avatar Klint Krossa avatar N Auliajati avatar  avatar

steg's Issues

Pillow update

steg 0.1.2 requires Pillow==5.2.0, but you'll have pillow 8.0.1 which is incompatible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.