Git Product home page Git Product logo

nsteg's Introduction

nSteg.

nSteg is a command-line utility, used to perform LSB steganography on images. It is written in Go and make use of auyer's Steganography lib (also written in Go) for encoding/decoding purposes. At the time these lines are written, it's only supports .png images and .txt text files.

Installation.

Step 1. cd to $GOPATH/src/github directory of your Go installation and clone with the following command:

$ git clone https://github.com/niconc/nSteg.git

Step 2. Make sure you have install the library mentioned above (it's a dependency), by using:

$ go get -u github.com/auyer/steganography

Usage.

Into the installed directory (I'm assuming it's $GOPATH/src/github.com/niconc/nSteg/) create 2 additional directories: images/ and messages/ which will be used to store the images and text file messages respectively. The image and text files must be reside there.

You have the following options:

Encode: The process of encoding a text file as a message into an image:

./nSteg -coding=encode -image=images/someImage.png -text=messages/someText.txt

The process creates a new image file, with the same name as the original + "_en" + .png located at the images directory.

Decode: The process of decoding an already encoded image, someImage_en.png, extract the message, saves it to file with the same name as the original text, + _en + .txt. ******

./nSteg -coding=decode -image=images/someEncodedImage_en.png

**Attention: The _en extension must exist after the file name of the image (and before the .png) in order for the decoder to recognize the file as an encoded file.

nsteg's People

Watchers

 avatar  avatar

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.