jc

jscryptor-cli

npm i jscryptor-cli

Readme

JSCryptor-cli

A cli (command line) version of JSCryptor (a Javascript implementation of with Rob Napier's RNCryptor).

Install

npm install jscryptor-cli -g

Usage

Run this tool from your shell following this pattern:

jscryptor <command> [options] <source> [destination]

Commands available

Commanddescription
decryptdecrypt a file
encryptencrypt a file

Options

Commanddescription
-h, --helpoutput usage information
-p, --passwordpassword to be used during encryption (mandatory)

Arguments

You must give the file path of the source you want to de/encrypt.

Optionally, you can pass a destination path where the result will be written. If you don't, this tool will write a new file with the same name and location of the source file but with a different extension (.dec for decrypted data, .enc for encrypted).

Jump To