A tool for steganographing information in a picture encoded using the Vernam cipher.
Go to file
Dmitriy Pleshevskiy 9e2fecffbe
initial commit
2024-04-13 17:28:26 +03:00
app initial commit 2024-04-13 17:28:26 +03:00
.gitignore initial commit 2024-04-13 17:28:26 +03:00
CHANGELOG.md initial commit 2024-04-13 17:28:26 +03:00
LICENSE initial commit 2024-04-13 17:28:26 +03:00
README.md initial commit 2024-04-13 17:28:26 +03:00
Setup.hs initial commit 2024-04-13 17:28:26 +03:00
flake.lock initial commit 2024-04-13 17:28:26 +03:00
flake.nix initial commit 2024-04-13 17:28:26 +03:00
picsg.cabal initial commit 2024-04-13 17:28:26 +03:00

README.md

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 file hello.enc.key with a key to decode the hello.enc file.

    picsg encode "ABC" hello.enc

  • Decode the hello.enc file using key and print to the standard output

    picsg decode hello.enc hello.enc.key -