Git Product home page Git Product logo

indie.go's Introduction

indie CLI


This complete README is hidden
in the target.png file below

without the original readme.png
this could have also been a lie
as none could ever tell.


Convince yourself & decrypt it
go run indie.go -d -o readme.png -t target.png


Tweet

A new implementation to hide information into images with high speed. Each pixel is scanned for security and validity reasons and subsequently RGB tweaked to encode a secret text which lies in the difference between an original and target file. indie.go was developed as an alternative steganographic method with high memory capacity, negligible quality loss and high security.

The advantage over password managers

Indie involves no passwords one needs to memorize! If an original image is picked, indie will draw it's information and encode the provided plain text then output a target file which looks like a copy of the original image. To decode your secret again indie will just need the original and target file path. Without the original image file the algorithm at hand is considered cryptographically secure by the theorem of perfect secrecy.



Branches

  • master Release Branch
  • benchmark Performance Benchmark Branch

Performance Benchmarks

Capacity [bit/pixel] Speed
4 -

Setup

If you are using indie with go make sure to have it installed. For Ubuntu/Debian use for instance

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go

see here for custom OS installers.

Next, download indie or clone repository

git clone https://github.com/B0-B/indie.go.git
cd /indie.go

Getting Started

The typical encryption line

go run indie.go -c -e -o /path/to/original/file.png -t /optional/target/path.png -s "Confidential Hello World!" 

encodes and saves the provided message string in a slightly altered copy (of the original image) which is exported to the target path. The opt. -c command will scan and print the available capacity for this picture in bytes. The return should yield

Capacity ( parrot.png ):  553352  bytes
Encrypt text into /optional/target/path.png using original parrot.png image.

To decrypt use the -d flag and provide original and target path

go run indie.go -d -o /path/to/original/file.png -t /optional/target/path.png

The expected output should look like this

~$ go run indie.go -d -o /path/to/original/file.png -t /optional/target/path.png

# output
Decrypt text from ./out.png using original parrot.png image.

------------- secret --------------
    Confidential Hello World! 
-----------------------------------

note the encoded secret at the end. Thats it! Please visit next section for usage parameters.


Usage

See the options for indie below. Note that the order is not necessary but is just a recommendation. The options list is obtained by -h flag.

~/indie.go$ go run indie.go -h

 ____  _  _  ____  ____  ____ 
(_  _)( \( )(  _ \(_  _)( ___)
 _)(_  )  (  )(_) )_)(_  )__) 
(____)(_)\_)(____/(____)(____)
           
help options:

        go run indie.go [-h/-c/-vb/-e/-v] [-o original file] [-t target file] [-f/-w opt. output path]

options within brackets can be used simulataneously

  -c    Prints available capacity in bytes.
  -d    Decrypt option.
  -e    Encrypt option.
  -f string
        Draw text from file path.
  -h    Help - prints all options.
  -o string
        Original image path to use for encryption.
  -s string
        Draw text from CL string input.
  -t string
        Specify target path (optional).
  -v    Outputs the current version.
  -vb
        Verbose information. Helpful for debugging.
  -w string
        Write the output to a file instead of terminal.

Upcoming

  • New format encoders for jpg and gif compatibility

indie.go's People

Contributors

b0-b avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

indie.go's Issues

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.