Crates.io | pngme |
lib.rs | pngme |
version | 0.5.2 |
source | src |
created_at | 2020-07-10 12:40:37.143002 |
updated_at | 2020-07-11 04:51:23.776429 |
description | A command line program that lets you hide secret messages in PNG files. |
homepage | |
repository | https://github.com/disDeal/pngcrypt-rs |
max_upload_size | |
id | 263618 |
size | 60,226 |
cargo install pngme
You also can install the application by to downloading the source code and build locally.
# or through ssh git@github.com:disDeal/pngcrypt-rs.git
git clone https://github.com/disDeal/pngcrypt-rs.git
cd pngcrypt-rs
cargo install --path .
cargo run -q -- -h
pngme 0.1.0
Command line program that lets you hide secret messages in PNG files
USAGE:
pngme <input> <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
decode Searches for a message hidden in a PNG file and prints
the message if one is found
encode Encodes a message into a PNG file and saves the result
help Prints this message or the help of the given subcommands
print Prints all of the chunks in a PNG file
remove Removes a chunk from a PNG file and saves the result
cargo run -q -- pic.png encode RuST "Lorem ipsum dolor sit amet"
cargo run -q -- pic.png decode RuST
Hidden message in the chunk RuST: 'Lorem ipsum dolor sit amet'
cargo run -q -- pic.png print
File: pic.png, Size: 4533476
(1) Type: IHDR
Data size: 13 bytes
Crc: 3047955392
(2) Type: IDAT
Data size: 4533381 bytes
Crc: 95264671
(3) Type: IEND
Data size: 0 bytes
Crc: 2923585666
(4) Type: RuST
Data size: 26 bytes
Crc: 464893539
cargo run -q -- pic.png remove RuST