Skip to content

Commit 66007ca

Browse files
committed
fix: version v0.6 is the not yet published one
Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me>
1 parent f5a4396 commit 66007ca

File tree

5 files changed

+30
-19
lines changed

5 files changed

+30
-19
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ log = "0.4"
1616
thiserror = "1.0"
1717

1818
stegano-seasmoke = { path = "crates/stegano-seasmoke", version = "0.1" }
19-
stegano-core = { path = "crates/stegano-core", version = "0.7.0" }
19+
stegano-core = { path = "crates/stegano-core", version = "0.6.0" }

README.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ Options:
119119
Let's illustrate how to hide a file like `README.md`, inside an image `Base.png` and save it as `README.png`:
120120

121121
```sh
122-
❯ stegano hide \
123-
--data README.md \
124-
--in crates/stegano-core/tests/images/plain/carrier-image.png \
125-
--out README.png
122+
❯ stegano hide --data README.md --in resources/plain/carrier-iamge.png --out README.png
126123
```
127124

128125
The final result is then contained in the image `README.png`.
@@ -133,17 +130,26 @@ here I'm using the shorthand parameters (--data, -d), (--in, -i), (--out, -o)
133130

134131
```sh
135132
❯ stegano hide \
136-
-i crates/stegano-core/tests/images/plain/carrier-image.png \
133+
-i resources/plain/carrier-image.png \
137134
-d resources/secrets/Blah.txt \
138135
resources/secrets/Blah-2.txt \
139136
-o secret.png
140137
```
141138

139+
*Hidden Feature* you can use a `.jpg` for input and save it as `.png`
140+
141+
```sh
142+
❯ stegano hide \
143+
-i resources/NoSecret.jpg \
144+
-d resources/secrets/Blah.txt \
145+
-o secret.png
146+
```
147+
142148
#### Example with an Audio WAV file
143149

144150
```sh
145151
❯ stegano hide \
146-
-i crates/stegano-core/tests/audio/plain/carrier-audio.wav \
152+
-i resources/plain/carrier-audio.wav \
147153
-d resources/secrets/Blah.txt \
148154
resources/secrets/Blah-2.txt \
149155
-o secret.wav
@@ -155,7 +161,7 @@ Now let's assume we want to hide just a little text message in `secret-text.png`
155161

156162
```sh
157163
❯ stegano hide \
158-
-i crates/stegano-core/tests/images/plain/carrier-image.png \
164+
-i resources/NoSecrets.jpg \
159165
-m 'This is a super secret message' \
160166
-o secret-text.png
161167
```
@@ -202,14 +208,19 @@ This is a super secret message
202208

203209
```sh
204210
❯ stegano unveil-raw --help
205-
Usage: stegano unveil-raw [OPTIONS] --in <media source file> --out <output file>
211+
stegano-unveil-raw
212+
Unveils raw data in PNG images
206213

207-
Options:
208-
-p, --password <password> Password used to encrypt the data
209-
-i, --in <media source file> Source media that contains secret data
210-
-o, --out <output file> Raw data will be stored as binary file
211-
-h, --help Print help
212-
-V, --version Print version
214+
USAGE:
215+
stegano unveil-raw --in <image source file> --out <output file>
216+
217+
FLAGS:
218+
-h, --help Prints help information
219+
-V, --version Prints version information
220+
221+
OPTIONS:
222+
-i, --in <image source file> Source image that contains secret data
223+
-o, --out <output file> Raw data will be stored as binary file
213224
```
214225

215226
#### Example unveil raw data

crates/stegano-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stegano-cli"
33
description = "Hiding data with steganography in PNG images and WAV audio files"
4-
version = "0.7.0"
4+
version = "0.6.0"
55
authors = ["Sven Kanoldt <sven@d34dl0ck.me>"]
66
edition = "2021"
77
license.workspace = true

crates/stegano-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stegano-core"
33
description = "Steganography core library for stegano-cli. Supports hiding data in PNG images via LSB Encoding."
4-
version = "0.7.0"
4+
version = "0.6.0"
55
authors = ["Sven Kanoldt <sven@d34dl0ck.me>"]
66
edition = "2021"
77
license.workspace = true

0 commit comments

Comments
 (0)