1.2.1 • Published 4 months ago

@stegapng/cli v1.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Install

Easily install via your favorite Node.js package manager (e.g. npm):

npm install -g @stegapng/cli

Simple Usage Examples

The stega CLI follows typical UNIX syntax conventions. For more usage info, run stega help.

# Embed data into image.png
stega embed image.png < data.txt > embedded.png

# Extract data out of an image
stega extract embedded.png

Real-World Usage Examples

You can easily combine stega with other *nix tools to achieve amazing things.

Files

Embed entire file trees, with gzip compression.

# Embed files into an image
tar cz mydir | stega embed image.png > embedded.png

# Extract all the files
stega extract embedded.png | tar xz

Encryption

Securely compress and encrypt files before embedding.

# Embed data encrypted via AES (with a password)
tar cz mydir | gpg --symmetric --cipher-algo AES256 | stega embed image.png > embedded.png

# Embed data encrypted for a specific recipient (with their public key)
tar cz mydir | gpg --encrypt --recipient some@example.email | stega embed image.png > embedded.png

# Extract and decrypt the data (from either encryption scenario)
stega extract embedded.png | gpg --decrypt | tar xz

Contribution

Please feel free to open an issue or submit a pull request.

License

MIT

1.2.0

4 months ago

1.2.1

4 months ago

1.1.0

5 months ago

1.0.0

5 months ago