Skip to content

UberChili/pngme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Intermediate Rust project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages