added support for binary files
This commit is contained in:
parent
954ca48904
commit
ef0e619642
4 changed files with 58 additions and 21 deletions
10
README.md
10
README.md
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue