A CLI tool to hide secret messages in PNG file.
This is my implementation of the PNGme project as described here
A chunk type is a 4 byte string containing only alphabetic ASCII characters. The chunk type should be unique and not conflict with standard chunks (see the attached RFC under section 4.3.). If there are multiple chunks matching the specified type, this program will always operate on the first one.
Note that the program currently does not override any existing chunks when using this, but rather append a new one. If OUT_PATH is not specified, then the input file will be overwritten.
pngme <PATH> encode <CHUNK_TYPE> <MESSAGE> [OUT_PATH]
pngme <PATH> decode <CHUNK_TYPE>
pngme <PATH> remove <CHUNK_TYPE>
pngme <PATH> print
This tool does NOT safely hide your secrets!
Your hidden message will NOT be encrypted and can be easily viewed using tools like strings or hexdump.
For the unsuspecting eye, the PNG file will look like any other though.
If you are looking to secure your files you probably want to encrypt them instead. In that case, you should have a look at the OpenPGP standard and use a software like the GNU Privacy Guard.