added support for binary files

This commit is contained in:
ston1th 2018-10-12 00:31:42 +02:00
commit ef0e619642
4 changed files with 58 additions and 21 deletions

View file

@ -2,14 +2,20 @@
Hides a string inside the least significant bit (LSB) of all colors of each pixel.
## Build
```
go build -o stego stego.go
```
## Hide
```
./stego -in testdata/lenna.png -out testdata/stego.png -secret "hello world!"
./stego -in testdata/lenna.png -secret testdata/lenna_256.png -out testdata/stego.png
```
## Reveal
```
./stego -in testdata/stego.png
./stego -in testdata/stego.png -out lenna_256.png
```