A tool for steganographing information in a picture encoded using the Vernam
cipher.
app | ||
.gitignore | ||
CHANGELOG.md | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
picsg.cabal | ||
README.md | ||
Setup.hs |
picsg
A tool for steganographing information in a picture encoded using the Vernam cipher.
Synopsis
picsg [subcommand]
where subcommand is one of the following:
encode <text> <output-path> [--img <image-path>]
encode file <file-path> <output-path> [--img <image-path>]
decode [--img] <encoded-path> <key-path> <output-path>
Examples
-
Encode text using the Vernam cipher to the file
hello.enc
and create a filehello.enc.key
with a key to decode thehello.enc
file.picsg encode "ABC" hello.enc
-
Decode the
hello.enc
file using key and print to the standard outputpicsg decode hello.enc hello.enc.key -