A CLI to encrypt data inside images.
Description
CLI tool to encrypt secret messages with AES-256-GCM and a password. Same password will then be used as a seed to generate a random order in which the encrypted message will be encoded inside the specified .png image.
NPM package
npm install -g obscr
Usage
~$ obscr --help
Usage: obscr <cmd> [options]
Commands:
obscr encrypt Encrypts and hides the message into an image.
obscr decrypt Decrypts message from image.
Options:
--version Show version number [boolean]
--help Show help [boolean]
copyright 2022
⚠️ Supports only png images
Installation
- Clone the repository and then navigate to it.
- Run
npm install
to install the dependencies. - Run
npm install -g .
to install the CLI.
⚠️ This might cause an error which can be resolved easily by usingsudo
with the command, however, usingsudo
withnpm
is not recommended because it might cause permission issues later. So instead put the code below in your .bashrc file and then run the above command again.
npm set prefix ~/.npm
PATH="$HOME/.npm/bin:$PATH"
PATH="./node_modules/.bin:$PATH"
- Now you are good to go and can use the CLI globally!
Type obscr
or obscr --help
to get started.
License
MIT © Obscr