- Notifications
You must be signed in to change notification settings - Fork0
B0-B/indie.go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
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.
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 thetheorem of perfect secrecy.
master
Release Branchbenchmark
Performance Benchmark Branch
Capacity [bit/pixel] | Speed | |||
---|---|---|---|---|
4 | - |
If you are using indie withgo make sure to have it installed.For Ubuntu/Debian use for instance
sudo add-apt-repository ppa:longsleep/golang-backportssudo apt updatesudo apt install golang-go
seehere for custom OS installers.
Next,download indie or clone repository
git clone https://github.com/B0-B/indie.go.gitcd /indie.go
The typicalencryption 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 bytesEncrypt text into /optional/target/path.png using original parrot.png image.
Todecrypt 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# outputDecrypt 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.
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 capacityin 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 usefor encryption. -s string Draw text from CL string input. -t string Specify target path (optional). -v Outputs the current version. -vb Verbose information. Helpfulfor debugging. -w string Write the output to a file instead of terminal.
- New format encoders for jpg and gif compatibility