38 lines
543 B
Markdown
38 lines
543 B
Markdown
# PSPNG
|
|
|
|
Sample program to embed messages into PNG images
|
|
|
|
## Install
|
|
|
|
**NOTE:** Set the core_count variable to one value lower than maximum cores on the host in cmd/pspng.c
|
|
|
|
Requires zlib, pthread, and sodium header files to compile (These will be distro specific packages)
|
|
|
|
Build:
|
|
|
|
```bash
|
|
make
|
|
```
|
|
|
|
System Wide:
|
|
|
|
```bash
|
|
make
|
|
make install
|
|
```
|
|
|
|
## Usage
|
|
|
|
Embed Message:
|
|
|
|
pspng --compress -f {input file name} -o {output file name} -m "{input message}"
|
|
|
|
Extract Message:
|
|
|
|
pspng --uncompress -f {input file name}
|
|
|
|
Help Message:
|
|
|
|
pspng --help
|
|
|