1.0.7 • Published 7 years ago

file-encryptor-cli v1.0.7

Weekly downloads
145
License
SEE LICENSE IN LI...
Repository
github
Last release
7 years ago

File encryptor cli tool

a simple cli tool for encrypt and decrypt files

Installation

npm i -g file-encryptor-cli

Commands

file-encryptor encrypt <file> <password>

example:
file-encryptor encrypt ./config.js password -> output ./config.js.enc

params:

  • file - path to file which will be encrypted (required)
  • password - any secret password ;) (required)
file-encryptor decrypt [options] <file> <password> [dest]

example:
file-encryptor decrypt -f ./config.js.enc password -> output ./config.js
file-encryptor decrypt ./config.js.enc password ./config/decrypted.config.js -> output ./config/decrypted.config.js

options:

  • -f --force - force replace destination file (optional)

params:

  • file - path to file which will be decrypted (required)
  • password - any secret password ;) (required)
  • dest - destination file (optional)

note: use node version >= 8 (i have't test it at older versions) note: v1.0.7 - please update to this stable version (all bugs fixed)

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago