From 8e396522b279484ede1bc0a0f1b4b267458458b3 Mon Sep 17 00:00:00 2001 From: auyer Date: Mon, 26 Sep 2022 10:47:40 -0300 Subject: [PATCH] =?UTF-8?q?Adds=20all=20version=20from=201.19=20to=201.12?= =?UTF-8?q?=20to=20test=20matrix=20=F0=9F=A7=AA=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also fixes typos in README --- .github/workflows/test.yaml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4aaa51f..5801fc1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '^1.19', '~1.16' ] + go: [ '^1.19', '~1.18', '~1.17', '~1.16', '~1.15', '~1.14', '~1.13', '~1.12' ] name: Go ${{ matrix.go }} sample steps: - name: Checkout repo diff --git a/README.md b/README.md index 4235c94..202742c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ go get -u github.com/auyer/steganography | -------------------- | ------------------| | ![Original File](examples/stegosaurus.png) | ![Encoded File](examples/encoded_stegosaurus.png) -The second image contains the first paragaph of the description of a stegosaurus on [Wikipedia](https://en.wikipedia.org/wiki/Stegosaurus), also available in [examples/message.txt](https://raw.githubusercontent.com/auyer/steganography/master/examples/message.txt) as an example. +The second image contains the first paragraph of the description of a stegosaurus on [Wikipedia](https://en.wikipedia.org/wiki/Stegosaurus), also available in [examples/message.txt](https://raw.githubusercontent.com/auyer/steganography/master/examples/message.txt) as an example. ------ Getting Started @@ -41,7 +41,7 @@ Encode ------ Write mode is used to take a message and embed it into an image file using LSB steganography in order to produce a secret image file that will contain your message. -Note that the minnimum image size is 24 pixels for one byte. For each additional byte, it is necessary 3 more pixels. +Note that the minimum image size is 24 pixels for one byte. For each additional byte, it is necessary 3 more pixels. ```go inFile, _ := os.Open("input_file.png") // opening file @@ -89,7 +89,7 @@ note: all error checks were removed for brevity, but they should be included. Complete Example ------ -For a complete example, see the [examples/stego.go](examples/stego.go) file. It is a command line app based on the original fork of this repository, but modifid to use the Steganography library. +For a complete example, see the [examples/stego.go](examples/stego.go) file. It is a command line app based on the original fork of this repository, but modified to use the Steganography library. ----- ### Attributions