Skip to content

Latest commit

 

History

History
48 lines (46 loc) · 1.13 KB

README.md

File metadata and controls

48 lines (46 loc) · 1.13 KB

pngme

Encode and decode hidden messages in PNG files.

Introduction

As this is a personal project for learning purposes, it is not available to install as a crate on crates.io but you can clone and install it locally:

git clone https://github.com/UberChili/pngme.git
cd pngme
cargo build --release

Then you can run the executable via:

./target/release/pngme

Or you can install globally so you can run it from anywhere:

cargo install --path .

Usage

Run without any arguments to get a list of possible commands:

pngme 
  • Commands:
    • encode
    • decode
    • remove
    • print
    • help

Run a command without additional arguments to get a list of the needed options:

pngme <COMMAND>
# For example
pngme encode

Encoding a message in a PNG file:

pngme encode --filepath [filename.png] --chunk-type rUsT --message "Hello, this is a very secret message!" --out-file [out_name.png]

Decoding a message in a PNG file:

pngme decode --filepath [filename.png] --chunk-type rUsT

This would print:

Message: Hello, this is a very secret message!