This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
picsg/README.md

28 lines
663 B
Markdown
Raw Normal View History

2024-04-13 17:28:26 +03:00
# picsg
A tool for steganographing information in a picture encoded using the Vernam
cipher.
## Synopsis
```sh
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 -`