Skip to content

Commit

Permalink
Merge pull request #3 from scottleedavis/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
auyer authored Sep 7, 2019
2 parents e0c0306 + 2f7c131 commit 821908f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ reader := bufio.NewReader(inFile) // buffer reader
img, _, _ := image.Decode(reader) // decoding to golang's image.Image

w := new(bytes.Buffer) // buffer that will recieve the results
err := steganography.Encode(w, img, "message") // Encode the message into the image
err := steganography.Encode(w, img, []byte("message")) // Encode the message into the image
if err != nil {
log.Printf("Error Encoding file %v", err)
return
Expand Down

0 comments on commit 821908f

Please sign in to comment.