From 2f7c1316534b0bc590968db8b278aa14cc776959 Mon Sep 17 00:00:00 2001 From: scott lee davis Date: Fri, 6 Sep 2019 20:24:13 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59b15c9..7926af0 100644 --- a/README.md +++ b/README.md @@ -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